autotest: Refactor ping related logic into a delegate

Consolidate server and client related ping code into a centralized
delegate that we can reuse in both places.  Removed dead logic to do
background pings, particularly since this logic was deemed dangerous
by the testlab team.

BUG=chromium:263197
TEST=Ran suite:wifi_matfunc with only unrelated test flake.

Change-Id: Iec07646639e5681886dd771a2dd7afb4b02e3aa7
Reviewed-on: https://gerrit.chromium.org/gerrit/62924
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
11 files changed