Some changes to bootstrap the quasi-lockfree globaldb info hashtable.

Also a clearer way of expressing the PUTHASH algorithm,
and a unit test that it works in the cross-compiler host.