Added the hook mechanism with google charts as an example use case and put in place the autogenerated database table objects.
The hooks can be used within any context of the application. As an example i have added an implementation of two hooks, xherkin_num2str and google_charts. A hook is used by calling $this->hook->namespace_hook(); from within the context of a xebab (model). So to use the google charts hook you would call $chart = $this->hook->google_charts();. $charts would then hold the google charts object.
The auto generated table objects are created when an application is first used. Since we are only set up for mysql at the moment, although it is quite possible and easy enough to make it work with any db, a description of every table in the database associated with the appli...