saft: Export get_section_body and set_section_body methods on flashrom_handler

These 2 methods will be used for EC Software Sync update test. So this
change exports them and does a bit refactoring.

BUG=chrome-os-partner:12997
TEST=After merging some EC update test changes, run:
run_remote_test.sh -a "new_ec=ec_autest_image.bin" firmware_UpdateECBin/control$

Change-Id: Ibde6f3e42669f1847b32c5dd42c5de59c21a4651
Reviewed-on: https://gerrit.chromium.org/gerrit/31326
Commit-Ready: Tom Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
1 file changed