misc changes
added criteria.js and another util method. Build not working.
now registering collections at the first time itself
avoiding registration of models twice. Mainly also avoiding the creation of collections twice i.e. with small case letter names and other with capitalized version.
Also changed the identity to sails-mongoose
modififed defaults to prolong connection with custom configurations.
changing the variable name to record from models
added create mongoose method
made mongoose call save the call back function.
created another function for rewriteId in utils to make create work
adding mongoose destroy operation and attempting the create operation
misc changes
knocking off mongodb npm module
added mongoose connect in find. Currently breaking, but initiates the request
Index action now works
now adding options to the find clause
making create action without spawnconnection or createconnection
adding numberaffected the third option for save which tells if the record was found and updated or blankly created a new one
adding the update action with mongoose
rewriting ids for mongoose has been moved to mongooge utils file
misc changes to restore the actual where clause
adding a destroy action. not working currently