adding support for insert api
- also changed all Mongodoc apis to wrap collection access in a block for proper connection disposal