optimization improvements. Now keep json files outside of bundle (so we can for example update phrases on the fly). Removed require config file and moved to index.html/index-prod.html (save one request).
minor refactoring for validatorManager