Make generic localization utility for lang code keyed objects

Utilize in OO.ui.IconedElement and ve.dm.TemplateSpecModel

Change-Id: I0883a73cb478d4f7509f61aebed2b2957ddb9ce8
Merge "Make generic localization utility for lang code keyed objects"