autoscale module: add backward-compatible support for Python 3.3+
Remove unnecessary print_function import
Merge branch 'felixonmars-autoscale-py3' into develop. Fixes #2393.