Revert "Switch to boost::signals2."

Until I have the time to make the tests work.

This reverts commit be03c3a3d4e8824c3b909648b46910b4cdbc72e1.