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.
oh sorry, now i understood what you do. so yes this indeed is correct.