Added EnvironmentLocale class to aid on localization's common tasks and gotchas; minor code clean-up and fixes