Add editorconfig, ignore test folder in npmignore