Implemented spl_erase() and spl_goodbye()

Danger, Will Robinson!
DO NOT CALL spl_erase(). It causes the unmodified firmware to erase
itself. This is a fault with the firmware. spl_goodbye() is untested
thanks to the above bug.
Removed user prompts and calls to sys.exit() in preparation of turning
this into a module.