Add concurrency_lock option for DoctrineORM and DoctrineODM and Propel

Add concurrency_lock option for DoctrineORM and DoctrineODM and Propel
additional fixes:
Add wrap filter
Shorten entity_manager code useing wrap filter
Fix actions order