Stack layout is different when -g used, so need to handle the pendsv jump differently. Addresses Issue #315.
Raw REPL mode is activated by CTRL-A, and allows you to more easily communicate with the pyboard over the serial channel. In particular, automated communication using, eg, pyserial on the PC side.