template: better gitignore

Ignores more common os files
Removes ignores for editors