- updated for mongo-c-driver 1.0.2 and MongoDB 2.6.5
- minor changes were necessary: MongogDB does not allow to delete a capped collection, one has to use drop