vm: Introduce structure for exception stack entry, record entry type.

Trying to scratch "finally" implementation, I'd like to clean up exception stack implementation. We also need to record type of exception entry, because "except" ones are easy to unwind by just popping, but "finally" needs handler execution.