Fixed initialization of controller and models when the module is required.
Fixed ordering of controller and model initialization, as controllers depend on models.
Added methods onto createController that allows one to create a restful resource.
Added methods onto createController that allows one do do mongo shortcuts for restful paths.