ipython/ipython — pull request #1791 by minrk (2012-05-30 20:23:58+00:00)
Title: update zmqshell magics

These were missed in the Great Magics Reorganization.

Per a FIXME comment, I moved the `%guiref` magic into usage, and it is only loaded in the
QtConsole.

Small changes needed to enable this:

* `CodeMagics._find_edit_target` became a staticmethod, so it could be used by a non-subclass.
* added a `started_kernel` signal to the QtKernelManager, so frontends could notice when kernels restart.