Minor import fix to get qtconsole with --pylab=qt working

Running the qtconsole with --pylab=qt on non-OSX-10.9 OSes fails with
the error `TypeError: 'NoOpContext' object is not callable`.
Merge pull request #4639 from punchagan/fix-broken-code-execution

Minor import fix to get --pylab=qt working again on OS X