Updated .gitignore, and added editorconfig

I prefer it split, it doesn't make a difference but it's easy to figure out what's going on.