Bug 884340: Allow addons to add menu items to tools. r=mfinkle, f=sriram