Fix calling constructor with database object

In my project, I'm passing in a database object rather than a url string. This results in an error because the MongoSkin db instance doesn't have the collection methods (e.g. findAndModify). Before this pull request I would need to pass in a collection, not a database. This pull request ensures that the defaults are maintained when a database object is used in the Agenda constructor.