Fix Python 3 compatibility
Import cleanup, test fix
tox py27, py34
1.1.1