plumb timeout into agent tests that access using service gateway

altered ResourceAgentViaServiceGateway to support timeout in HTTP service calls in same way service_api.py invokes calls from ion-ux.