Base 2to3 changes for Python 3 support
Merge pull request #9 from jvc26/python3

Base 2to3 changes for Python 3 support