LPS-38036 Apply LocaleUtil.getSiteDefault and LanguageUtil.getAvailableLocales(groupId)

Hey @brianchandotcom 

Although there are many commits, the changes are simple and almost identical in all the commits.

Thanks!