don't interfere with set_next_input contents in qtconsole

It was dedented and rstripped for no apparent reason,
causing inconsistent behavior.
No other frontend behaved this way.
Merge pull request #4593 from minrk/set_next_input_rstrip

don't interfere with set_next_input contents in qtconsole