Bug 963208 - Use a factory for GeckoEvents. r=kats