stbt batch: Extract backtrace from log and show in testrun html page

This reinstates (in spirit) commit 98c191db (stbt batch: Show backtrace
in testrun html page), which was reverted because it's a bit of a hack
and we were expecting to use pytest by now. However pytest support is
taking longer than expected, so I'm reinstating this for now.