virttest:new interface to clear a kind of events

We need to clear a kind of event only before send a monitor command, and
jude the command go into effect by check event; This interface used to
clear this kinds of events in events list;

Signed-off-by: Xu Tian <xutian@redhat.com>