Addon for Mongoid to allow optimistic locking (CAS)