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.