stm: Put REPL functions in own file; add raw REPL mode.

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.
stm: Rename mma -> accel.