Add more .{git,hg}ignore entries following https://github.com/github/gitignore