refactor upload progress
Merge pull request #4872 from owncloud/refactor_upload_progress

refactor upload progress