Optimistic Concurrency improved

Initially optimistic concurrency only checked if the document did not
change between retrieval and storage, however optimistic concurrency
should be done on the Commit level.
Merge branch 'develop' of github.com:jvandertil/MongoES into develop