Add gitattributes file to control line endings

the added gitattributes file allows control of line endings at the
repository level