Python 3 support, PEP8 fixes

Hi,

I just want to use great routr library to learn Python 3, so I port it to 3.2, 3.3 and also backport to 2.6.

ps. I do PEP8 fixes with ignoring E221 and E241 errors, hope you not against this change.