Added .gitattributes to ignore line-ending conversion for most files.
Fixed line endings on program files.