Basic Python 3 port (2to3); untested yet.
Runtime Python 3.3 compatibility and flake8 happyness. May still produce corner-cases errors as there are no unit-tests and I couldn't check everything manually.
Merge pull request #2 from Karmak23/master

Python 3 port, while retaining Python 2 compatibility; flake8 conventions fixes