Add code to de-init the inline backend.
Add code to de-init the inline backend.

Save the rcParameters before activating inline mode. Then unwind all the
changes when activating a different mode.

ipython/ipython,ipython/ipython