Added a rescue helper to handle Mongo errors that occure on duplicate key violation
Updating mongo and bson to version 1.11.0 or higher since mongo 1.11 will throw an error on key violation. Older version not always do so.