Establish synchronization semantics + Fix crash on loss of connectivity

 - All the updates in rocon_gateway_tests are for improved wireless_handling testing. 
 - A gateway can now correctly determine when the connection to the hub goes down (it takes about 30 seconds for redis listener thread to exit gracefully)
 - Fixed a crash when network connectivity goes out