factory: Migrate camera/ALS test to Chrome UI

The CL migrates the camera performance and ALS calibration test
to the HTML5 based UI. Other improvements include:

- Draw the pattern registration result with the captured image
  so that the operator could be more informed about the test
  status.
- Dump the ALS calibration data to vpd in the FATP test.
- Add ALS value sanity checks.

BUG=chrome-os-partner:10321
TEST=Tested on real devices -> works.

Change-Id: I7eb25f29d9ab208c2bac6ef9823f2e21dc1220f6
Reviewed-on: https://gerrit.chromium.org/gerrit/30153
Reviewed-by: Tai-Hsu Lin <sheckylin@chromium.org>
Tested-by: Tai-Hsu Lin <sheckylin@chromium.org>
4 files changed