Import patch from issue #135 (will be removed when rebased)
Implement new functions in classes not relying on global vars, move some views to new system

DotLangParser:
- Add new function parseFile to read lang file and return array with values
- Add new leftStrip function to clean meta tags
- Keep old legacy code while waiting for views to use the new code
- Add tests for new functions

LangManager:
- loadSource: load a lang file
- getReferenceLocale: return reference locale for a website
- getFilePath: return full local path for a file
- analyzeLangFile: analyze langfile (identical strings, missing, errors, etc.)
- add tests for new class