Support for MongoDB Write Concern at global and endpoint level.

It is now possible to set the MongoDB write concern level at both
global (MONGO_WRITE_CONCERN) and endpoint (mongo_write_concern) levels.
The value is a dictionary with all valid MongoDB write_concern settings
(w, wtimeout, j and fsync) as keys. {'w': 1} is the default, which is
also MongoDB's default setting.