Integration tests for hosts client

1.Added a mock library called httpretty.
2.Added tests to list and get hosts.

Change-Id: Id8936daa15cd646c800a530e2773914a42eeb6ca
Merge "Integration tests for hosts client"