Add tests verifying that update is reverted if device reboots before boot completes

Tests covers both full and userspace reboots.

Test: atest apex_rollback_tests
Change-Id: I4df83e9847807fbdc04591962d83fdb875ffd92e
3 files changed