Add configurable number of IO dispatchers and synchronize on MongoDocument.putAll

Fixes #349 
Fixed