python 3 fixes for basestring and removal of unicode
Python 3 added list() and removal of itervalues()
Python 3 fixed except clause and used six for string_types
Python3 fixes for print statements, list() and exec
Python 3 added list() and removed itervalues()
Python 3 - more sys related fixes
Python 3 - import and another list() fix
Python 3 - test must pass
Python 3 - more sys related fixes-last one right
Python 3 - more things missed for tests