Move cold reset handling from servo to power_state_controller.

New board support for Link will use cold_reset, but the usage pattern
will be slightly different.  This moves cold_reset from class Servo to
power_state_controller and provides hooks to accommodate board
differences.

Ths change also includes minor additional refactoring and cleanup.

BUG=chromium:223199
TEST=run_remote_tests with platform_InstallTestImage
TEST=trigger repair with a local autotest instance

Change-Id: Ic1f2e58ca2e7553527aa2a6cad3b9314f7aba597
Reviewed-on: https://gerrit.chromium.org/gerrit/46589
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
6 files changed