test: rule: wait for agent to come up

* Expose SystemTestBase methods to let
  TemporaryJobsTest to wait for the agent.

* Some SystemTestBase cleanup.