Bug 910172 - Refactor XPIProvider.importPermissions out to a reusable JSM. r=Mossop