Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError
Test raising NotUniqueError by Document.update()
Merge pull request #626 from KonishchevDmitry/pr-not-unique-error-on-update

Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError