Add gitattr and editorconfig

This closes #34