Normalize line endings to resolve platform-specific issues

Normalize line endings with .gitattributes to resolve platform-specific issues

http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/