url.py: Implements URLInfo IRI encoding other than UTF-8.
util.py: Tests detect_encoding() more robustly.
Implements processing IRI URLs (chfoo/wpull#7).