removed SafeModeResult.
moved MongoCommandException to Core and removed CommandException from Core.