Proto2 update: context switch api for safe invocation from an interrupt handler

- simonkim	split guest/context switching from hmain.c to context.c and it also r… …	1c37e5d
- simonkim	1. guest context switch now allows trap handler to run the rest of th…