CSHARP-1042: Add Code and ErrorMessage properties to MongoCommandException.
Fix test failing against 2.7.8.
Alternative workaround for server no longer returning systemFlags in collstats command result.
CSHARP-1075: Reimplement legacy DropIndex method on top of DropIndexOperation in Core.
CSHARP-1074: Remove GetLastError from the legacy API.