Move generally useful functions to cider-util.
[Fix #569] Present stacktrace frames for all causes.