Correctly handle resurrected documents

OK, but to be clear this is a change of API contract. Previously trying to create a document with an existing ID would throw an `IllegalArgumentException` with this message. Now it will throw `ConflictException`.