Start jump hooking, add -trace-callstack

Implement a relatively general mechanism for hooking jumps.
Use it to implement a new -trace-callstack option, which is like an
improved version of the old -print-callrets (which has been removed).