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

fixes Schema hasn't been registered for model "undefined". error