Clean up
Use `urlsplit` instead of `urlparse`.

Closes #118.
Added Python 3.3 to tox and travis conf.