updates to Controller system for HTTP verbs, removed Hook and Filter because they are never used
beginning support for REST
added getQuery static method to generated models
updates to controller template for REST and new getQuery model method