Overhaul the test suite to be more robust.

1) safer sleep mechanism handling interrupted syscalls and signals
2) The ability to env TRACE=truss (or strace) the noitd/stratcond
3) wait until the listener comes up before returning the pid, eliminates sleeps
4) more patient waiting shutdown of processes