virsh: cmdEvent: Rewrite questionable event registration
virsh: cmdEvent: Rewrite questionable event registration

The code registering the event handlers in 'cmdEvent' had too many
blocks of code conditional on whether just one event is being listened
to or all events.

The code can be greatly simplified by uniting the code paths and having
only one branch when filling the list of events we want to listen for.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

olafhering/libvirt,libvirt/libvirt,zippy2/libvirt,jfehlig/libvirt,crobinso/libvirt,olafhering/libvirt,crobinso/libvirt,jfehlig/libvirt,zippy2/libvirt,libvirt/libvirt,libvirt/libvirt,olafhering/libvirt,crobinso/libvirt,olafhering/libvirt,zippy2/libvirt,libvirt/libvirt,jfehlig/libvirt,zippy2/libvirt,jfehlig/libvirt,crobinso/libvirt