added topleveldomain guesser

added a topleveldomain guesser to map tlds to a locale.
f.e:
domain.ch will map to locale de_CH

this is usefull for sites with more than one tld to provide a default locale per tld.

mappings can be influenced via config.
or rather, explain what it actually does. should have read the whole PR before starting to comment :-/