Python 3 fixs: imports, prints, etc
Merge pull request #182 from warrd/master

Fixed breaking changes for Python 3