avoid AttributeErrors on zmq.ZMQError at shutdown of qtconsole
avoid AttributeErrors on zmq.ZMQError at shutdown of qtconsole

garbage collection could cleanup zmq.ZMQError before channel threads
were done with it. Import into top-level namespace in kernelmanager
to avoid the issue.

ipython/ipython,ipython/ipython