Mongo-rest uses mongoose 3 now.

Had to adapt the .sort() function.
Adapted readme.
Added place holder functions for getPathName, serializeEntityName and serializeKeyName