Auto-detect language

Added the option to auto-detect the language of the site visitor's browser. The whole process is done in filters.