update payloads for msg spec 5

ref #6926, describing the payload problem in more detail. I don't think we can reasonably fit a complete replacement for payloads in 3.0, so this just does a bit of cleanup and documentation.

- remove auto_rewrite_input
- remove doctest_mode
- remove exit key from ask_exit
- rename 'edit_magic' to 'edit'
- remove screen_lines from page

remaining payloads ('edit', 'ask_exit', 'set_next_input', 'page') are documented as deprecated in the msg spec, pending their proper replacement in the future. Given that, the current implementation will only be deprecated in favor of the (not yet implemented) new way, rather than removed.


closes #1730
Interestingly, I've just tried, and the base class implementation of `auto_rewrite_input` will work (i.e. it will print `-> blah`) in the kernel. I'm not sure if that's what we want, though.