(bug 41478) Implement Language::isWellFormedLanguageTag()

Change-Id: Ief5643e9a7d3883d6d131503087aca15207b0a44