don't close figures every cycle in inline backend
don't close figures every cycle in inline backend

This allows gcf(), getfigs(), etc. to be useful again in the qtconsole and notebook.

draw_if_interactive() signals that the current figure is to be drawn.

Figures that are created and closed in the same cell will not be drawn.

See #638
ipython/ipython,ipython/ipython