Add ability to configure mongoid

Allows for setting a different session and database for the models.