uri_to_iri -- allow unicode port
Merge pull request #359 from puzzlet/sprint/urls

uri_to_iri -- allow unicode port
Initial attempt at a rewrite of werkzeug.urls

This rewrite in part incorporates a modified version of urllib.parse,
this gives us better control over how URLs are represented across Python
versions.
Fixed indentation in Href.__call__
Fix uriparse
Fix escaped str vs. bytes issue in quote
Use uppercase hex chars in quotes
Fix tuple decoding error in urisplit
Coerce values to str() before quoting
Quoting produces bytes
Be explicit about keyword arguments
Add unsafe keyword argument to url_unquote
Coerce keys to native strings before quoting
Fix query as fragment unquoting in uri_to_iri
Fix quote
Fixed Py2 bug

In Py2:
bytes([32]) -> b'[32]'

In Py3:
bytes([32]) -> b' '
Should not be true anymore
Truncating repr output
Fixed wrong slicing

That took too long to spot...
Merge pull request #1 from untitaker/urls-rewrite

Urls rewrite