log: Add a TRACE log level
This also removes the #ifdef DEBUG' conditionals so that those messages can be enabled without a rebuild.
backport of #403