gett/mongojs — pull request #65 by sorribas (2013-06-26 23:05:38+00:00)
Title: Create Database function and add db methods to the prototype

I created a ```Database``` constructor function and added the database object methods to it. The other part of the code was kept in the ```connect``` function since I saw that the other constructor functions didn't have any other code aside from the ```_get``` assignment. I would like @mafintosh to give me his opinion here if he thinks that some or all of the code should be moved to the new constructor function.