quick copy/paste to move threading stuff away from eleveldb.cc API stuff.

No Code Changed!  Simple copy paste of threading stuff to its own source file ... then cleanup of other misc. to get things to compile and unit test again.