Added support for reading $numberLong in extended JSON

JAVA-1272
Fix reporting _id for Bulk API edge case for pre-2.6 servers

When upserted _id is not returned on custom _id's

JAVA-1263
Merge branch 'master' into 2.12.x
Ensure collection.aggregate throws on error

JAVA-1253