Simple tox file to test on Python 2.7 and 3.4.
(3.3 is fine too, but it's busted on my machine for now.)
Add six compatibility library. Include source instead of adding a dependency.
Syntax and import changes to support Python 3.
Reimplement some URI parsing for Python 3 compatibility.