Fix 404 when selecting a different language when not on the homepage.
Also fixes the url=url=url= when multiple times switching languages.
(tested with and without mod_rewrite enabled.)
Merge pull request #109 from DDaems/dev

Fix 404 when selecting a different language when not on the homepage.