[autotest] Update job_repo_url_[serial] after adb devices is provisioned

The job_repo_url_[serial] will be used for tests to stage more build
artifacts.

This change also refactor the return value of machine_install. The
return is now a type of (image_name, host_attributes). host_attributes
is a dictionary of attribute: value. The caller, e.g.,
afe_utils.machine_install_and_update_labels, will be responsible of
remove and update the host attributes.

BUG=chromium:586327
TEST=local run provision for both cros and adb devices.
./site_utils/test_droid.py ZX1G22K3SQ android_DummyTest

Change-Id: Idaaa0377a93c6587f18af5c2ab17971dcec86a66
Reviewed-on: https://chromium-review.googlesource.com/327671
Commit-Ready: Dan Shi <dshi@google.com>
Tested-by: Dan Shi <dshi@google.com>
Reviewed-by: Simran Basi <sbasi@chromium.org>
6 files changed