SERVER-11681 populate lastError in write commands for backwards GLE compatibility
SERVER-11681 fix gle on upconvert for legacy upserts into mongos