Adds .gitattributes

.gitattributes from https://gist.github.com/dandoescode/5953539/