Revise std::thread API to join by default

Adds explicit detachment, and also renames `thread::Cfg` to
`thread::Builder`.

Includes a variety of other fixes after rebasing over proc removal.