Backport PR #2831: avoid string version comparisons in external.qt

We have learned from pyzmq that one should *always* parse version strings
before comparing them.
Backport PR #3013: py3 workaround for reload in cythonmagic

closes #3007