Updated git ignore and added git attributes

Removed intellij files and added git attributes.