add a unit test for URLs ending in `.local`
make sure `.local` is treated as a TLD

(and simplify the script that builds the list)
Merge pull request #1514 from skurfer/localDomain

Include `.local` in the list of top-level domains