Fix uploading files to webdav and TT refreshing for upload and download
- implement streaming to webdav
Merge pull request #324 from jdenk/jde-fix-upload-2

Fix uploading files to webdav and TT refreshing for upload and download