[#982] Accept all valid tlds for email addresses

Now uses load_file and a hashref instead of a regex for ease of editing.
Also adds a test.

Fixes #982.