Merge branch 'release/0.7.0' into develop
An attempt to define a custom inheritance pattern that will allow more flexible use of hooks but I think we've hit a wall. Hooks.js ties its pre/post hooks at the object level which causes problems when using prototypal inheritance - to be continued.
As alluded to in the previous commit, completely rewrote the hooks library to overcome it's shortcomings which has now been included as a dependancy to this project. This has caused some simple but notable changes to the codebase (primarily around inheriting Models and setting up hooks).
Fixed an obscure issue with inheritance at least 3 levels deep.
Inheritance model is pretty stable now that the pre/post hook library has been rewritten.
Added a couple extra utility functions that will help sanitise an object's keys if they contain illegal Mongo characters. These are best called manually from pre() save and received hooks as necessary.
Quick bug fix with cursors.
Dropping node 0.6 support.
Added a couple utility functions and a few other bug fixes.
Version bump - 0.8.0
Merge branch 'release/0.8.0'