unshelve wasn't working on a modified mq patch. I added checks for
not aborting on a modified mq patch in both rebase and mq.
Checking repo.vfs.exists('unshelverebasestate') works in rebase,
not in mq. I used cmdutil.unfinishedstates to find shelvedstate
in mq.