Bug 924702 - Rewrite the app:// protocol handler in c++ r=jduell
Bug 924702 - Fix an XPCOM violation, compartment mismatch and rooting error.