Add .gitattributes file.

For now it only enables automatic LF normalization.