qemu: Implement bulk stats API and one of the stats groups to return
qemu: Implement bulk stats API and one of the stats groups to return

Implement the API function for virDomainListGetStats and
virConnectGetAllDomainStats in a modular way and implement the
VIR_DOMAIN_STATS_STATE group of statistics.

Although it may look like the function looks universal I'd rather not
expose it to other drivers as the coming stats groups are likely to do
qemu specific stuff to obtain the stats.

elmarco/libvirt,jfehlig/libvirt,crobinso/libvirt,datto/libvirt,agx/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,shugaoye/libvirt,elmarco/libvirt,elmarco/libvirt,libvirt/libvirt,agx/libvirt,jardasgit/libvirt,elmarco/libvirt,nertpinx/libvirt,olafhering/libvirt,crobinso/libvirt,andreabolognani/libvirt,agx/libvirt,eskultety/libvirt,shugaoye/libvirt,shugaoye/libvirt,rlaager/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,jardasgit/libvirt,datto/libvirt,fabianfreyer/libvirt,taget/libvirt,eskultety/libvirt,nertpinx/libvirt,taget/libvirt,zippy2/libvirt,eskultety/libvirt,andreabolognani/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,fabianfreyer/libvirt,zippy2/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,libvirt/libvirt,crobinso/libvirt,crobinso/libvirt,olafhering/libvirt,taget/libvirt,taget/libvirt,libvirt/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,taget/libvirt,datto/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,eskultety/libvirt,rlaager/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,rlaager/libvirt,jfehlig/libvirt,elmarco/libvirt,nertpinx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,datto/libvirt,datto/libvirt,rlaager/libvirt,shugaoye/libvirt,agx/libvirt,zippy2/libvirt,olafhering/libvirt,VenkatDatta/libvirt,rlaager/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,agx/libvirt,jfehlig/libvirt