Improve error messages for tests by spitting out some information if the request failed.
Add EnginioReply::dumpDebugInfo() for more detailed debug output.

To also dump the request json data a non-empty ENGINIO_DEBUG_INFO
env variable has to be exported in the running shell.
Use chunk size from test data
Fix error handling for upload.
Fix file name handling in upload.