issue #24332 - add signals for scripting

pull fixes into 4_7_x instead of [4_6_x](https://github.com/xtuple/qt-client/pull/439)