Replaces pair/piecewise_construct with anon class

Using c++11 inheriting constructors the pair can be eliminated and the
TableLocker alternative is defined inline.  Inherits the lock_guard
constructor and has a bool finished with a default of false.  afaik this
behavior is all defined, there is no pair, just an anonymous class
(finally).
Manges the name of the locker

Instead of lg, it's now lgwithREALLYlongname to avoid collisions.  If I
was writing for the standard I'd just prefix with an underscore, but I'm
not implementing stdlib facilities so this seems for the best.