WIP: Start fleshing out the PThread version.  Add a simple test.
Move pthread guts to an internal module. Change how the little test is built