Added support for new 'rest' substate to state.py.
Added support for new 'rest' substate to state.py.

Change-Id: I1797c568406489c001531f353fb95d4cccec1a93
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation