Bug 697314 - Defer importing xpinstall permissions until necessary. r=Mossop

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug578467.js => toolkit/mozapps/extensions/test/xpcshell/test_permissions_prefs.js