Abstract out backtrace functionality

Introduce a new backtrace reporter for logging. Including a version
that allows filtering via regular expression.