Restart PT's when the process dies
These patches makes it easier to track state changes from the log-files when there are issues with PT's in Tor. Additionally, we mark PT's for restart if they fail under us.
Let's not merge these until the AC team have taken a look at them
These patches are all part of #33669 (closed).