dequeue abandoned changes

Whenever a change is abandoned, we should probably remove it from queues
and cancel all jobs.

Added a patchset to the getChangeRestoredEvent() event to match Gerrit.

Change-Id: I1e9c9985606c04def7cd37a1284b5addb7553354
Merge "dequeue abandoned changes"