Small refactor of drain tests
Clean up stale jobs when recovering

If spawner exits after warden exiting but before (the next) start, the
exit status of the job is lost and we don't want to keep the job in the
registry.
Don't call into EM from signal handler
Refactor tests
Don't persist stdout/stderr over a restart