Started to fix file upload
Remove duplicate connections.
These ones are already created in the upload and download functions
Refactored upload function analogous to download
Removed unused slot
Emitting signal if upload is finished
Removed debug message
Pass rawheaders again
Added proper error handling in case the file could not be read.
Also deleted input in case of an error.
Set parent for QFile in case of upload or download is called to assure that the
file is always deleted.
Removed unnecessary uploadFinished signal
Merge pull request #9 from AndreasFetzer/fix-file-upload

Fix file upload