warn when using an unstable version

setting the MONGOOSE_DISABLE_STABILITY_WARNING env variable
disables the warning
make; suppress warning msg in test
tests; fix a versioning test bug
Fixed versioning test

makes sure the expected order happens
updated; mocha to 1.12.0
script for continuously running tests
Merge branch 'master' of github.com:LearnBoost/mongoose
inital work on toConstructor in mongoose, needs tests
toConstructor() working and tests written

passing all tests. Additional fixes for dealing with `sort` passed via
`setOptions` Moral of the story: the storage format for sort sucks
Updated mquery version, removed sort hacks

Updated to new mquery version which gets rid of the terrible internal
sort syntax.
Fixed call signature of custom query call to super

Hadn't switched it from the old Query constructor syntax
New API for the connection pool sharing

This seems to work and passes all of the test cases. Might be slight
issues related to events, but they all seem to be functioning properly
Fixed setup for dbs when not connected

Also, added a lot more test coverage for all of the different events.
refactored one test that wasn't checking a value that would guarantee
correctness.
tests; validate db contents
tests; close some connections
remove unneeded helpers

we would only need this if we needed to run outside Node.js
tests; clean up rebase mess
added support for discriminator mapping (closes #1003)
throw an error when a discriminator is added with the same name
added ifError assertions to test