Add .gitattributes
Normalize line endings
Update license headers