Added.gitattributes to avoid CRLFs in the codebase.

I've use the same `.gitattributes` file as the [Yeoman.io](https://github.com/yeoman/yeoman/blob/master/.gitattributes) project does.