Add python3 support.

We now support Python 2.7 and Python 3.3 with the same codebase.

Also get rid of those nasty tabs. Indentation is only with spaces.