Added check for tornado and zmq (needed for ipython notebook)