Fix bug where schema with subdoc cannot be extended (#2)
Fix hooks issue (#5)
Update version
moved mocha from "dependencies" to "devDependencies"
Merge pull request #6 from deoxxa/move-mocha-dependency

moved mocha from "dependencies" to "devDependencies"
Fixed issues with merge