Expose AbortCurrentUpgrade on API

This will be used by the user to clear the synchronisation document for a previously failed upgrade in the rare case of a partially completed upgrade.
I didn't write this and it has nothing to do with this PR. This is just code that I moved as a drive-by (2 suites has their definitions interleaved).