faft: Direct-copy to USB instead of starting devsever when servod is localhost

If servod is localhost, i.e. both servod and FAFT see the same file system,
we can direct-copy the image to USB instead of starting devserver.

It saves ~1min for network loop and protocol overhead.

BUG=chromium-os:34392
TEST=manual, run the following test with servod in localhost:
$ run_remote_tests.sh --board link --remote dut -a \
      "image=/path/to/chromiumos_test_image.bin" TryFwB/control$
See the following messages:
11:09:56 INFO | Server proxy: http://localhost:9990
11:09:59 INFO | Build of image: 2913.132.0 dev-channel
11:09:59 INFO | Ask Servo to install the image from /path/to/chromiumos_test_image.bin
...
11:10:05 INFO | Searching for usb device and copying image to it. Please wait a few minutes...
11:14:48 INFO | Setting pwr_button to press
11:14:48 INFO | Setting pwr_button to release
11:14:48 INFO | Server: Client machine is up.
...

Change-Id: I5a72ad4f2e04b2fa29921c521a866d1dbe12cc63
Reviewed-on: https://gerrit.chromium.org/gerrit/36627
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Ready: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
2 files changed