Break out domain list parsing logic into parser class

For use in tests + vendor-us.

Also clean up the domain list, now that we can parse it smarter.