SERVER-16027 create replica set monitor when req'd when resolving shards for write
Merge remote-tracking branch 'upstream/master'