added support for validating Replacement documents differently than validating Update documents.
changed filter to criteria for count and distinct.
added insert, remove, replace, and update methods to IMongoCollection.