Wipe permissions using Mozilla API
Mozilla accepted our patch from legacy/trac#2950 (closed) (a pref to make Permissions manager DB memory-only), with the restriction that the pref, "permissions.memory_only" be read only at startup. In torbutton, we use the pref at runtime, but this is unnecessary. To wipe permissions, we can call Services.perms.removeAll();