Add git attribs, travis and editorconfig.