rename resource to skin
update addon.js
move writeFile function from ide.js to addon.js
move openFileDialog function from ide.js to addon.js
delete debug code
rename formatter.js templates.js