Take the task prep work out of the offer lock
Take the task prep work out of the offer lock

There's no need to hold the lock while doing this, and this results in
the framework hoarding offers while uploading large docker context files
to the staging filesystem (since new offer threads are waiting on the lock).

Closes #27

duedil-ltd/portainer,duedil-ltd/portainer