Ensure libvirtd is running before executing virsh commands. (bnc#887086)

This should resolve bnc#887086, and fix a couple of minor issues in XEN and KVM.