[mongodb] Add mongodb.upsert configuration option.
Added a configuration option (mongodb.upsert) to control if the driver
performs inserts or upserts operations for the DB.insert() method.
Defaults to doing inserts.
Note: Change in behavior from previous versions that performed upserts
for non-batched DB.insert() operations.
Fixes #400.