.gitignore: add test/ptrlist_test

Commit e0b0a309, "test: add ptrlist_test", added a ptrlist test but
unfortunately forgot to add the test binary to .gitignore.
.gitignore: add test/*.trs

Newer autotools has a fancier test driver that produces some temporary
output files. These should be ignored.