Fixed issue #280 by using the locale and eventually a fallback to define the HTML to be in line with the application locale.
Merge pull request #319 from pvankouteren/issue-280-language-settings-locale-in-header

HTML lang attribute fix