Added RestoreContext

Restore context is a way to properly pass control
over resoter mode to the apiserver so it can be
triggered by the restore remote call which needs
to signal the state server that it will begin a
process that needs to be the only one to run