Bug 981851 - Add a simple JS logging mechanism to telemetry for recording unusual event data, r=taras