Preliminary stack tracing support

Again all praise to Max Bolingbroke. I have a feeling that we might want
to rethink this particular approach a bit though... Passing around
naked ByteString#s feels really awkward.