Handle _id-only upserts for MongoDB 2.6 and older versions (#741)

See: https://jira.mongodb.org/browse/SERVER-12266
Regression test so that upserts never replace document data
Merge pull request #750 from doctrine/mongodb26-upsert

Use replacement document for upserts with no modifiers (#741)