CSHARP-1044: Moved WriteConcern into Core.
fixing warnings from Mono.
CSHARP-1055: Replace CheckElementNames and CheckUpdateDocument with more flexible IElementNameValidator(s).