Bug 940807 - Modify UITelemetry.jsm to allow registration of simple measures functions. r=mfinkle, Yoric.