external shutdown hooks for gateway and hub.
Merge pull request #218 from robotics-in-concert/concert_shutdown

External shutdown hooks for gateway and hub.