Towards single-source Py2/3 compatibility
Towards single-source Py2/3 compatibility (more futurize --stage1)
futurize --stage1 tools/emr/*.py
futurize --stage1 tests/mockhadoop.py
futurize --stage1 tests/mr_verbose_job.py tests/test_conf.py
futurize --stage1 tests/test_job.py tests/test_local.py
futurize --stage1 tests/mockssh.py
Flush stdout and stderr after printing without \n to achieve equivalent effect to Py2

- On Py3.3, we could pass print(..., flush=True), but this isn't present in
  the print() function on Py2.6 and Py2.7.
tests/mockssh.py: revert previous change and prevent emitting of extra spaces
sys.maxint -> sys.maxsize