Fix a couple of Locale bugs discovered by ICU4J tests.

ULocaleTest revealed two issues :
- We weren't handling the legacy ja_JP_JP and th_TH_TH locales
  correctly.
- We weren't lower-casing the extension key in forLanguageTag. This
  shouldn't matter since language tags are case insensitive, by
  definition but the convention is to keep them lowercase. This also
  fixes a bug in the builder where extension keys were case sensitive
  since we weren't normalizing them properly.

bug: 20252611
Change-Id: Id15823186c282aeac9adb937d200dc3409d580df
2 files changed