Chameleon: re-implement unplug-and-plugging

Originally we emulated unplug-and-plugging the external display cable with
xrandr on DUT. Now that Chameleon supports it, we re-implement it via the
Chameleon API.

This also fixes the problem on nyan-big where xrandr doesn't work properly.

BUG=chrome-os-partner:28507
TEST=manually ran the display_Resolution (extended, mirrored) tests on nyan-big
and see it passed.

Change-Id: If6cd3e9291d7ba1f9b4ee9f71051f1df449910ed
Reviewed-on: https://chromium-review.googlesource.com/216604
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
4 files changed