Update tests

Some of the tests were failing, due to changes in the list to the .jp domain, made 
on 4th July 2012: see http://hg.mozilla.org/mozilla-central/rev/290afd57d2a8

This branch fixes these tests, and also adds several new ones; some for some .uk domains that I wanted to be certain were handled correctly, and some for the domains specified in RFC2606 ("Reserved Top Level DNS Names") to ensure these domains are also handled correctly.

(I also updated the .gitignore rule to ignore .pyc files, since many users default ignore files don't cover these.)