Octave Interface : Unit test. Still Work in progress

But several bugs have been discovered.
Octave Interface: Moved debug output macro to socket tools

To make it available to all the SocketServer related classes.
Octave Interface: Tentative Fix of lockup of Resinsight

Added a timer to call back if a signal from the socket has to be
ignored.
This way we should not loose signals and state.
Needs to be experienced over some time to be verified.