External shutdown hooks for gateway and hub.

External shutdown hooks into the gateway and hub so the conductor can delay their respective shutdowns.

This is introduced as a non-default behaviour, especially for concerts.

Note: bloody signal handling for subprocesses of a rospy node is a huge pain in the ass.

This is in tandem with https://github.com/robotics-in-concert/rocon_concert/pull/128