Make git ignore pstats and SVG files

Most of the `make test-*` commands generate profiling information. Make git
ignore those files, as they definitely should not be committed. Also ignore SVG
files, as the pstats files can easily be converted to SVG format.