Updated .gitignore, and added editorconfig

I think it makes it more readable for anyone to jump in the project but I can change it alphabetically.