Fix language code output for firstHeading

Language::getHtmlCode() is used instead of Language::getCode(), and
use SkinTemplate::text() instead of SkinTemplate::html() per comments
above Language::getHtmlCode().

Change-Id: I5762fe73a28abf753ddcf95ed848675aa5bba673
Merge "Fix language code output for firstHeading"