Merge pull request #101 from sorribas/master

Avoid getIndexes crash when called with no parameters.
expose bson types visible in the shell using the shell names. fixes #99

f
v0.9.7
shrinkwrapping mongodb to 1.3.19. fixes #105
v0.9.8
bumping deps
v0.9.9
added toString for database and collection
v0.9.10
Fix query included in database name
Merge pull request #113 from kapetan/upstream

Fix query included in database name
v0.9.11
Normalize callback arguments. Same as shell.
Normalize lastErrorObject
Merge pull request #114 from kapetan/upstream

Normalize callback arguments. Same as shell.
Change normalized callback arguments.

After this commit the callbacks for the write functions are as follows.

```
db.users.insert(document, callback);    // => callback(err, [document])
db.users.save(document, callback);  // => callback(err, document)
db.users.update({ ... }, { ... }, callback); // => callback(err, lastErrorObject)
db.users.remove({ ... }, callback); // => callback(err, {n: amountRemoved})
db.users.findAndModify({ query: { ... }, update: { ... }}, callback); // => callback(err, document, lastErrorObject)
```

The reason for these changes is that sometimes you might want to save a document and retrieve the
ObjectId it was saved with.

The problem of `save` returning '1' when the operation was an update is solved
here, and a test case was added for this as well.
Add a remove statement to the insert test case.