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
Printing is the intended result, since that's what the base class does. If we want to change it, we can do that in the base class. There isn't a reason for the frontend to behave differently, so it isn't relevant here.