220.127.116.11: 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.