AutoUpdateManager: code cleanup by removing code duplication
Refactor code by making private method and using it to avoid code duplication.
Refactor code by using the same method for adding one or more upload tasks.
Code cleanup: Use DEBUG_TAG for log messages
SeafConnection: Add comment about https handling, issue #77
Merge pull request #79 from alfh/fix_code_review_changes

AutoUpdateManager: remove code duplication
Merge pull request #80 from alfh/fix_add_comment_seafconnection

SeafConnection: Add comment about https handling, issue #77