CSHARP-589: Refactor some logic from MongoCollection and other classes into a set of Operations classes.