added mongoose to devDependencies
fix for schemas that aren't extended.

fixes Schema hasn't been registered for model "undefined". error
Merge pull request #19 from chopachom/master

Fixes schema errors when trying to save the object whose model isn't extended