1. model.db now public
2. Created cached mechanism for re-using a mongodb connection while getting a new Connection object, useful in unit tests.
3. Adds ObjectId reference to model.