Change the git attributes to something more solid

Other projects have shown to have problem with the original .gitattributes  especially when working cross-platform on it. These settings are more sane.
Merge pull request #22 from dietmarw/patch-1

Change the git attributes to something more solid