Mv hot threads1

This is branch contains the threading code originally developed for the eleveldb async NIF.  It was previously delivered as part of a patch in branch 1.2.4-turner.  Joe B. spotted an unlikely, but real, race condition that this branch addressed via the QueueThread object.