OGM-396

@emmanuelbernard, @DavideD: This adds a new optional dialect facet which allows dialects to take advantage of their atomic find-and-update facility, making optimistic locking safer.