[PATCH 035/153] Add state tracking.  Update restarter.py to use state.
[PATCH 035/153] Add state tracking.  Update restarter.py to use state.

RB_ID=147130

(sapling split of 37a6ef5745368b75195519c1a8f2e6918588fdc1)

brutkin/commons,abel-von/commons,VaybhavSharma/commons,ericzundel/commons,atollena/commons,abel-von/commons,nkhuyu/commons,VaybhavSharma/commons,VaybhavSharma/commons,WCCCEDU/twitter-commons,Yasumoto/commons,cevaris/commons,pombredanne/commons,VaybhavSharma/commons,ericzundel/commons,ericzundel/commons,atollena/commons,cevaris/commons,abel-von/commons,jsirois/commons,cevaris/commons,brutkin/commons,cevaris/commons,atollena/commons,brutkin/commons,pombredanne/commons,pombredanne/commons,atollena/commons,brutkin/commons,jsirois/commons,Yasumoto/commons,nkhuyu/commons,WCCCEDU/twitter-commons,Yasumoto/commons,WCCCEDU/twitter-commons,ericzundel/commons,jsirois/commons,pombredanne/commons,cevaris/commons,Yasumoto/commons,nkhuyu/commons,jsirois/commons,WCCCEDU/twitter-commons,abel-von/commons,brutkin/commons,nkhuyu/commons,jsirois/commons,nkhuyu/commons,WCCCEDU/twitter-commons,VaybhavSharma/commons,abel-von/commons,Yasumoto/commons,atollena/commons,ericzundel/commons,pombredanne/commons