autotest: Make interop tests work on WpaCliProxy hosts

Since wpa_cli hosts don't have profiles, we can't manipulate profiles to
create a clean test context.  Add a method init_test_network_state which
abstracts these details into platform specific operations.

The shill XMLRPC delegate simply returns False when it is unable to
disconnect from a given ssid.  WpaCliProxy should do likewise rather
than complaining about missing keys in its created networks list.

TEST=Interop tests work against WpaCliProxy based hosts.
check11b still passes on a normal host.
BUG=chromium:302855

Change-Id: I5886df8154f46e3e1b43b325d2ac1a857cbaebc2
Reviewed-on: https://chromium-review.googlesource.com/171923
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
4 files changed