Added support for common config settings for the localization build script.
The primaryLanguage and pseudoLocale are now moved into the config, so they can be configured per project.
The language resources files are now JSON, because this is more efficient and they are only intended for use in internal processes - they are not intended for translators.
Fixed some bugs from the refactor.