[autotest] Separate portions of dut_status.py into status_history.py

This is mere refactoring to separate out the helper classes in
dut_status.py into a new module, so that they can be reused.

BUG=None
TEST=Run dut_status.py, see it work

Change-Id: Ibd9a1f12f0f99bf110d576df3e0b8e06253eaec7
Reviewed-on: https://chromium-review.googlesource.com/262066
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Mungyung Ryu <mkryu@google.com>
Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
2 files changed