deployment_tasks: fix warnings.
migrate from boost::signals to boost::signals2.