18.104.22.168: fix bugs in deadlock detection and tests
* No timeouts on mutexes on lutex builds: so don't mark the wait as
* No timeouts on spinlocks, so don't mark the wait as having one even
if there is a deadline.
* More tests.