pyflakes fixes, Py3 compat in setup.py

Python 3 doesn't work yet because NLTK hasn't been fully ported.