Updated gitignore to ignore intelliJ files and added .gitattributes.