Added feature to define actions on models. These are non-generic actions. These is an actionScope which can be passed in when the model is created. Better name be actionIncludes. When the action is called, parameters will automatically be mapped. For example, actions: {
  helloworld: function(req, params, Apish, _, test){
   return Apish.hello();
  }
 }

Apish will automatically map itself to Apish, req to the request returned by restify, params to the params on the request returned by restify, _ to lodash, and test to any query parameters or fields in the body if the call was a post or put. Actions are exposed via GET, PUT, and POST. I may make this binding more strict.

Apish uses the actual parameter names in the function signature to bind the correct libraries and/or parameter values, thus the order of paramters is not important. function(Apish, Req) and function(Req, Apish) would both bind and execute correctly.

The default action scope is: actionScope ={Apish: exports, Mongoose: mongoose, _: _, SocketIO: socketio, fs: fs, Beautify: beautify}