CB-7548 [BlackBerry10] Re-implement getPreferredLanguage() and getLocaleName().

Previous implementation of getPreferredLanguage() is using language info from default locale, which is wrong. The new implementation reflects the actual UI language selected, instead of the language for the default locale.