Use select_for_update to lock enqueueable runs.
Merge pull request #63 from brocaar/misc_improvements

Use select_for_update to lock enqueueable runs.