Only write to the self-pipe from the server process

Fixes Ctrl-\ re-running the test twice
Remove unnecessary TestProcess code

Now that our SIGINT/SIGQUIT are handled serially, it's impossible for the sigquit_handler method to be called while a previous test is still running.  Therefore, we don't need to keep track of the child process's pid, and can remove the TestProcess class.