only load %guiref in qtconsole with python kernels - fixes #4787
Merge pull request #4787 from sn6uv/master

Don't execute guiref code in qtconsole unless kernel is Python