Check TPM and use a factory install shim to restore for firmware update tests

After autoupdate, the firmware version will be updated in TPM. To recover, the
client needs a reboot with a facotry install shim.

BUG=chromium-os:35258
TEST=run_remote_tests.sh

Change-Id: I11afa96586b80bc8177d31042fc3bb27c9d4266f
Reviewed-on: https://gerrit.chromium.org/gerrit/35822
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Commit-Ready: Chun-Ting Chang <ctchang@chromium.org>
Tested-by: Chun-Ting Chang <ctchang@chromium.org>
8 files changed