OGM-396: Adding OptimisticLockingAwareGridDialect facet

@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.