fix restart-test

Fix the restart test as follows:

 * remove unreliable state resetting magic in tidy task and replace with suicide trigger
 * update to correct states in test reference entries
 * use `'__STDIN__'` instead of `__STDIN__`
 * fix `ping None` bug

The restart changes have been applied to both regular and loadleveler versions of the tests.