support pymongo 2.4, return the same errors as pymongo in the case of a DuplicateKeyError

Can you take a look at this? I'm introducing a dependency on pymongo.errors inside the lib. Otherwise, my tests fail when I try to catch these errors. Is there any reason not to? Thanks.