Fix LocaleListener for symfony 2.3