bracket resources in runAgent
client/server API to use implicit Target

* Target no longer passed as arg in client APIs
* callServer/castServer now select local AgentContext target

Also, sloppy change to test run helper functions;
these now take an Int representing in milliseconds how long
to wait for the Agent action to return a result
use a mock CheckTCP to improve test reliability
retarget peer