Add .editorconfig & .gitattributes
Add newlines at end of file and trim whitespace