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
I think this should exist and give a UsageError. If we don't define it, it will presumably fall back on the `%doctest_mode` magic define in IPython.core.magics.basic, which will at best not work properly in the kernel, and at worst break stuff.