td_lib (support library for ded)

This is a common library of procedures which are shared not only among
the CM_TOOLS utilities, but also with other programs which are not
part of CM_TOOLS.

In practice, the only program that uses this library is "ded".
