utils.py:  A minor fix for Python 3 compatibility in the valid_hostname() function.
utils.py:  Another minor fix for Python 3 compatibility in the get_or_cache() function.
setup.py:  Added some automatic 2to3 conversion for the termio, terminal, and onoff modules.
gateone.py:  Fixed a couple of bugs related to missing variables in certain locations when running Gate One for the first time.