Trim whitespace from the tooltip string.
Support augmentation in runtime error messages.

This is only used by the trace viewer at the moment, but we will add
support for seec-print and the runtime library in the future.