Add a simple statically loaded tracing facility

The existing tracing code seems to want to load some dynamic libraries. This adds something simple that goes to stderr and also command line support to make it work.