Implement new classes, stop using global variables

DotLangParser:
- parseFile: read lang file and return array with extracted values
- Keep old legacy code while waiting for views to use the new code

LangManager:
- loadSource: load a lang file
- analyzeLangFile: analyze langfile (identical strings, missing, errors, etc.)

Project:
- getReferenceLocale: return reference locale for a website
- getSupportedLocales: return supported locales for a website or a single file in website
- getWebsiteName: get name of website
- getWebsiteFiles: get list of files for website
- isSupportedLocale: check if locale is supported by website
- isCriticalFile: check if file is marked as critical
- getLocalFilePath: return full local path for a file
- getPublicFilePath: return full public path for a file
- getPublicRepoPath: return path to public repo

Utils
- secureText: sanitize text
- leftStrip: function to clean meta tags
- startsWith: moved from DotLangParser
- highlightPythonVar: highlight Python vars in strings to display errors
- isUTF8: return false if file's encoding is not UTF-8 or us-ascii

Add tests for new classes and functions.

Views:
- Updated views to use new class
- Listlocale: moved css into external .css file

Other:
- Removed {l10n-extra} support
- Associated priorities to array for single website