adds jshint and editorconfig

I added jshint and editorconfig to detect possible bugsources.

I set the options of jshint pretty relaxed and started with the `background_scripts/main.js`