SERVER-11559 Count ops attempted in write commands in mongos and mongod

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-12549 opcounters after write commands in mongos not correctly updated

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>