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
Merge remote-tracking branch 'upstream/master'
Switch to the system app context when using mobile data or wifi APIs