Enhance the punycode decoder so that it can decode
unicode objects.

Fix the idna codec and the tests.
3 files changed