PHP-942: Throw MongoDuplicateKeyException on duplicate key errors
11001 and 12582 are also valid duplicatekey error codes
Add the error code into the test, per pr review