Pure python implementation of Qt-style Signals
