Sequencer: state machine-based utility for synchronizing multi-threaded tests

Guys, let me know what you think.

I think it's a bit better than my previous attempt with the CheckPoint class, but I've only used in a new test for now.