Refactoring WriteResult
Added support for errInfo
Added support for opcode-based protocol in BulkWriteOperation