updaes for deprecated preferences api and fix new extension template

* Change to use new prefs api
* FIx New Brackets Extension to actually copy all files.  This was omitting seemingly random files
* Fix New Brackets Extension to generate template that uses new prefs api