meta: add start of general/coverage testing

.gitattributes - easier for windows user to contribute
.editorconfig - easier for emacs user to contribute
.gitignore - ignore emacs backup files, coverage directory

package.json - add mocha, istanbul, coverage script
test/dummy.js - add dummy test to report coverage
meta: correct .editorconfig, add json
meta: restore formatting