Bug 932750 - Add helper methods to GaiaData to get and set Gecko prefs

Also fixed a couple of PEP8 issues.