factoring code
add language browse detection, default theme and homepage redirection
Merge branch 'master' of https://github.com/ddrapeau/wefra