Refactor the verbose and tracing mode on STHORM to use the STHORM tracing API

The classical printf and so are not usable there.