Added AsyncRestTask and IRestListener to encapsulate REST service calls: AdapterTest to support async unit tests