SERVER-11192 make sure to set all instances of the runCommandHook, for special DBClients
SERVER-12290: fix dropping non-existant collection error
SERVER-5470 projection support for planCacheGenerateKey command. implemented query plan revision policy for write operations
SERVER-12214 Make WriteResult in the shell adhere to write command spec

Put back original fix by reverting fa01bee42fa6b495474eded723ec0c4a538d802f
SERVER-11214 Make WriteResult in the shell adhere to write command spec

Fix test to reflect changes in DBCollection.
SERVER-12219 allow idhack with $isolated

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-12136 hook additional profiler fields up to the query system

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-11995 Have authSchemaUpgrade sent to a mongos upgrade auth schema everywhere.

In particular, sends the commands to each shard, as well as performing the upgrade on the
config servers.

Also, allow user to specify maximum number of upgrade steps to take on any given shard.
Defaults to "as many as necessary".

To achieve these changes, separate implementations of the upgrade command are provided to
mongos and mognod.
SERVER-11995 Test of successful upgrade of auth schema on a sharded cluster w/ rs shards.