fixed domain regex and added a test to ensure you couldn't add domains like foo.gov.bar.com
merged Gemfile