Add global .gitignore rules
Various minor tweaks