Rewrite testNetworkFailedRollback_Phase3 (1/n)

Move test code to device side so we can assert reboot more reliably.

Bug: 143035398
Test: atest StagedRollbackTest
Change-Id: I84f65ce17ad38b524b26436933f9c090c1b581c5
3 files changed