Add EC hash in hardware_Components database

In order to check EC in factory process,
we must add a hash field from entire EC.

NOTE: since some EC may contain special timestamp/calibration
fields, those parts must be padded with constant before calculating
hash.

BUG=chromium-os:1843
TEST=manually:
1. run hardware_Components factory test by: ../../bin/autotest control
2. check ../../results/default/hardware_Components/results/system_components
   Expected: a long hash number in field 'hash_ec_firmware'.

Change-Id: I5bbe41c8d6081253bf78d047e2a450b13d6d802f

Review URL: http://codereview.chromium.org/3493016
3 files changed