Poll for long running PUT: WIP

Some PUT, may take a long time on the server to process (for example, the
last chunk). It may take more time that the timeout.
So in that case the server may reply with an url that we can poll for the etag

This patch is still work in progress
Long Running Put:  store into the database so they can be resumed at startup
Long Running Put: Better error reporting
Long running put: fix some bugs
CMake: Don't need translations with token auth compile
Merge branch 'long_running_put' into il
TokenCredentials: Don't overwrite Cookie header

If the request already had a cookie header, there was a reason for it.
Don't blindly overwrite it.