Implement extended action locking (OMS-401)
Additional implementation and fixes for the locking feature (OMS-401)
Hack for the post-move inconsistent state bug (OMS-401)
Fix the hack: we are in the transaction already! (OMS-401)
Merge pull request #77 from opennode/oms-401

Revamp locking for actions with additional locking