add editorconfig and gitattributes to add contributions

should make it easier for the right things to happen magically