Chameleon: Generate the calibration image on client side

This is a part of CLs that moves logic from server to client.
This way helps code-reusability for client tests.

BUG=chromium:405143
TEST=Ran display_Resolution.mirrored passed on Falco

Change-Id: Ief1dde5785788212f35cece7cdefa90fb771c8fa
Reviewed-on: https://chromium-review.googlesource.com/226107
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
4 files changed