Bug 1036788 - Stop using origins to identify apps

https://bugzilla.mozilla.org/show_bug.cgi?id=1036788