Use SpecialPowers in place of switch_to_frame for getting and setting settings
Remove the permission at the end
Merge pull request #368 from bobsilverberg/settings

Use SpecialPowers in place of switch_to_frame for getting and setting settings