Update transaction detection from subdomains.

This update allows preview URLs like
www.preview.pay-register-birth-abroad.service.gov.uk to work as well.
Merge pull request #11 from alphagov/fix_subdomain_lookup

Update transaction detection from subdomains.