More i18n fixes and improvements:

- added i18n helpers: current_url, current_hostname
- added configurable #before filter, guessing locale from hostname