Also expose signals and slots to pyqt

Demo in test.py (quit QT when the shell finishes)