bld_app: Fix warnings reported by pylint

 W: 50,0: Unused import stat
 W: 55,0: Wildcard import threadedwork
 W: 56,0: Wildcard import bld_utils
 W: 61,49:createDownloadExtract7zTask: Redefining name 'tempPath' from outer scope (line 142)
 W: 61,59:createDownloadExtract7zTask: Redefining name 'callerArguments' from outer scope (line 131)
 W: 61,37:createDownloadExtract7zTask: Redefining name 'targetPath' from outer scope (line 202)
 C:147,4: Comma not followed by a space
    bldinstallercommon.create_dirs(os.path.join(os.path.dirname(__file__),"..",os.environ['APPLICATION_NAME']))
                                                                         ^^
 C:148,4: Comma not followed by a space
    bldinstallercommon.clone_repository(callerArguments.application_url, callerArguments.application_branch, os.path.join(os.path.dirname(__file__),"..",os.environ['APPLICATION_NAME']))
                                                                                                                                                   ^^
 C:150,5: Operator not followed by a space
 elif callerArguments.application7z !='':
                                   ^^
 C:155,4: Comma not followed by a space
    qtApplicationSourceDirectory = os.path.abspath(os.path.join(os.path.dirname(__file__), '..','..', src_dir))
                                                                                               ^^
 C:289,0: Comma not followed by a space
 runCommand("{0}".format(makeCommand),currentWorkingDirectory = qtApplicationBuildDirectory)
                                    ^^
 C:294,0: Comma not followed by a space
 runCommand("{0} {1}".format(makeCommand,makeCommandArguments), currentWorkingDirectory = qtApplicationBuildDirectory,
                                       ^^
        callerArguments = callerArguments, init_environment = environment)

Change-Id: I4d52205799fcb291e3b63107dbc87a4a8af193a2
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
bldinstallercommon: Fix warnings reported by pylint

 W: 53,0: Unused import tarfile
 W: 57,0: Unused import zipfile
 W:101,8:is_content_url_valid: Unused variable 'response'
 W:106,0: Unnecessary semicolon
 W:270,4:move_tree: Using global for 'IS_WIN_PLATFORM' but no assignment is done
 W:328,0: Bad indentation. Found 2 spaces, expected 4
 W:329,0: Bad indentation. Found 2 spaces, expected 4
 W:330,0: Bad indentation. Found 6 spaces, expected 8
 W:331,0: Bad indentation. Found 6 spaces, expected 8
 W:332,0: Bad indentation. Found 2 spaces, expected 4
 W:333,0: Bad indentation. Found 6 spaces, expected 8
 C:352,4:replace_in_files: Operator not preceded by a space
     regexp_compiled=re.compile(regexp)
                    ^
 C:354,8:replace_in_files: Operator not preceded by a space
         replaceflag=0
                    ^
 C:355,8:replace_in_files: Operator not preceded by a space
         readlines=open(xfile,'r').readlines()
                  ^
 C:361,16:replace_in_files: Operator not preceded by a space
                 f=re.sub(regexp,replacement_string,currentline)
                  ^
 C:361,16:replace_in_files: Invalid name "f" for type variable (should match [a-z_][a-z0-9_]{2,30}$)
 C:364,16:replace_in_files: Operator not preceded by a space
                 replaceflag=1
                            ^
 C:366,8:replace_in_files: Operator not preceded by a space
         if replaceflag==1:
                       ^^
 C:368,12:replace_in_files: Operator not preceded by a space
             write_file=open(xfile,'w')
                       ^
 C:390,20:replace_in_text_files: Operator not preceded by a space
                     readlines=open(path,'r').read()
                              ^
 C:397,28:replace_in_text_files: Comma not followed by a space
                             for line in fileinput.FileInput(path,inplace=1):
                                                                 ^^
 W:518,4:is_executable: Unused variable 'plat'
 C:612,4:pathsplit: Comma not followed by a space
     (h,t) = os.path.split(p)
       ^^
 C:613,19:pathsplit: More than one statement on a single line
 C:614,19:pathsplit: More than one statement on a single line
 C:615,4:pathsplit: Comma not followed by a space
     return pathsplit(h,[t]+rest)
                       ^^
 C:618,20:commonpath: More than one statement on a single line
 C:619,20:commonpath: More than one statement on a single line
 C:620,23:commonpath: More than one statement on a single line
 C:624,4:calculate_relpath: Comma not followed by a space
     (common,l1,l2) = commonpath(pathsplit(p1), pathsplit(p2))
            ^^
 W:624,5:calculate_relpath: Unused variable 'common'
 W:670,4:handle_component_rpath: Unused variable 'fileslist'
 C:785,4:list_as_string: Operator not preceded by a space
     output= ' '.join(argument_list)
           ^

Change-Id: I6b418bf3df09ecf3366dcada4465136dfce7d005
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>