state: added functionality for aborting upgrades

UpgradeInfo now has an Abort method for cancelling the current upgrade.