Initial Python 3 support

Amazingly, all that seems to be needed is a conditional import on the `urlparse` and `urlunparse` methods. Sure wish I started from this branch before! All tests pass with the latest code from Jinja2, Werkzeug, and Flask master branches