Enable building Qt Signal Tools with Qt 5

QtSignalForwarder is partly obsoleted by the new signal connection
facilities in Qt 5, however to make porting easier enable Qt Signal
Tools and tests/examples to be built with both Qt 4 and 5.