Python 3 compatibility

With these changes, I got pytest-pyflakes to work on Python 3.3.

It does break compatibility with versions lower than 2.6 though.