HTHREADS / PTTRACE rework: refer to README.PTT for details.

Note: this is the first (i.e. part 2a) of Part 2 of the locking/threading rework effort: hthreads restructuring.  Part 2b will be the hthreads.c code necessary to detect threads exiting while still holding locks (i.e. abandoned locks).