Refactor gooftool, eliminating boilerplate.

Eliminate gft_common, switch to use the python 2.7 argparse
with subcommands (like hwid_tool), and also use logging instead
of the home-made xxxMsg commands.  Also switch to using the
RunShellCmd (renamed Shell) from common instead of the
myriad versions in gft_common.

BUG=chrome-os-partner:9149
TEST=run all of the gooftool subcommands on a DUT

Change-Id: I50ad8a9e2e7cb760317e2b8c2e94531dcfd5c451
Reviewed-on: https://gerrit.chromium.org/gerrit/20052
Tested-by: Tammo Spalink <tammo@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Tammo Spalink <tammo@chromium.org>
17 files changed