SERVER-14436 Introduce bsonCheckOnlyHasFields helpers.

These helpers paired with the bsonExtract helpers faciliate the manual parsing
of structures out of BSONObj.