Remove pessimistic lock around exec state update
Use optimistic locks only for abort and delete job
Use optimistic lock with retry for claimScheduledJob

* remove use of pessimistic locking
Fix tests

* fake withNewSession for unit test
Merge pull request #442 from gschueler/issue/441-h2-pessmistic-locks

h2 pessmistic locks fix for #441