Merge pull request #6 from skimcom/dev
Add .npmignore file
Introduce a way to pass in an existing mongodb.Db
Driver update
Use default write concern w:1
Pull var db one scope up
Increment version
use opt.db instead of opt.dbConn, no need to introduce more names
Merge pull request #1 from hannesgassert/feature/mongo-dbconn

Update from upstream & add a way to pass in an existing DB Connection
Adding compiled js for publishing
Merge branch 'master' of github.com:skimcom/mojo into skim-beta
Use duck-typing because we can't rely on opt.db being instanceof mongodb.Db, might be e.g a different version of mongodb-native
use "open" event if using external Db instance
fix context of ensureIndex callback
put back db.collectionNames
always emit errors if passed to complete