CRAFTERCMS-214
Improved locking inside deployment agent worker (copy to environment store).
Added remove item from queue if it has been pulled out of workflow.