cylc test-battery: restart

This adds a few tests for the restart mechanism.

Like a lot of these test suites, it is a little sensitive to timing issues, but I can't get it to fail unexpectedly any more. Maybe you can!

@arjclark, please review.