changing the way redirect urls are transmitted when switching languages
1st steps in client-side localization
updated the client tests
Merge pull request #538 from leider/master

1st steps in client-side localization