qtconsole: Remove wrong overloaded signal call

This was discovered when checking the code with PyQt5
Make guiref work again
Add default (None) values to HBChannel constructor

This is needed for PyQt5 compatibility
Improve detection of when to load guiref magic
Merge pull request #7129 from ccordoba12/pyqt5

Complete qtconsole PyQt5 port