Isolated locale code from portal controller to new localization extensions class and repaired flawed code
Added file to project file
Added tests for localization extension methods
Added tweak to localization locale regex to include 3 letter languages