relocate testpcap generator

...within the source tree and the build process...
...also fix small glitch in generator.