[Doctrine] Add how: How to use optimistic locking with version annotation
Merge pull request #4 from rouffj/optimistic-lock-mapping

How to use optimistic lock with version mapping