changed gitignore, added gitattributes

also auto normalized line endings