updating to Brackets new Preference APIs
correcting conversion
correcting conversion code
Merge pull request #37 from edge-code/bchin/update-to-new-Preferences-API

updating extension to call Brackets' new Preference APIs