rf_framework: record measurement details in CSV file.

In order to get a timely analysis during factory, we save the measurement
in CSV format.  Our partner will be benefit to use their existing knowledge
processing CSV files instead of EventLog.

This CL also factors out some common code that DownloadParameters() and
UploadAuxLogs() can share together.

BUG=chrome-os-partner:17967
TEST=Manually on DUT with a shopfloor server.

Change-Id: I061b576fe7a2c43eb179b134ce3d987c279183ea
Reviewed-on: https://gerrit.chromium.org/gerrit/45259
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Chun-Ta Lin <itspeter@google.com>
Tested-by: Chun-Ta Lin <itspeter@google.com>
2 files changed