Update for Python 3 compatible codebase
Merge pull request #166 from flacjacket/py3_codebase

Update for Python 3 compatible codebase