Adding utilities

These are utilities which were also in the ZFE1 library but do not have
any Zend Framework dependencies, and therefore should belong to this
personal WT library.