Add stack trace and step out

This adds a list of stack frames to the debugger, and a step out feature. Most of the code was ported from PPSSPP. I've changed as little as possible in that code to make future updates easier.

I'll add the other project files in a bit.