Add new template class for logging objects

New loggable template class which allows objects to be printed
to the output through a virtual function toOutput.
Remove unusable threadlogger::Loggable class

The support for passing *this object to lDebug and friends for
providing the caller module name was unusable in practice.