Make linter for functionnal tests happy.
Fixing print and except for Python3 syntax.
Fix __next__() call
Fixing text_p4lib_diff for Python3 syntax
Small clean in submit functionnal test
Changed has_key() to 'in' syntax
Changed type comparisons by isinstance() usage
Changed popen2/popen3 usage to subprocess.popen