Update .gitignore

Added ignore for annoying system files
Update .gitattributes

Updated to add recommended gitattributes.