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

Fixes #349 
You sure? The file is all formatted the same way.
Do we have a code style defined for Hydra? ping @laserval