Add .gitignore rules for built items in the tools/ directory

Pattern rules were used where appropriate (and are listed first), but much of what is built doesn't match obvious patterns and is therefore explicitly listed instead.