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.
Merge remote-tracking branch 'upstream/master'