added InstanceApi.setScheduling
Converting tests to Mock
Added TargetInstanceApi
Upgrade to OkHttp 2.1.0

Mockwebserver 2.1.0 does not bind the localhost address but
the public address. That makes the test to fail if we hardcode
the server URL to 'localhost'. The server.getUrl() method
should be used instead.