Changes Model to accept string as a Shell Model id (for mongo this is necessary)
Removes previous mongodb.convertToDB code about DBRefs
Changes hasOne tests to be database agnostic (don't use instance.id, use instance[model.id])

This changes makes mongodb successfully pass this tests automatically