Starting language from URL fragment, and misc.

1. Refactoring variables. Again.
2. Better support for RTL checking.
3. Switch language when URL fragment matches a language code.
4. Remove animation code. Is this even used?
5. Disable Piwik, sorry for spamming you @nylira.