sync qmp_event_notification test case to upstream.

This pullreq sync qmp_event_notification test case to upstream.

Also have make some update during the syncing.

It test qmp event notification function in qemu.