Added implementation for removing DBObject by id.
Added test for removing DBObject by id