Set mongoose as a peerDependency and devDependency

This closes issue #1 and prevents those sort of bugs from happening.
Maybe the right thing would be to also specify a npm version (as this has to be supported by the installed npm's version).