conf: Extract code for parsing thread resource scheduler info
conf: Extract code for parsing thread resource scheduler info

As the scheduler info elements are represented orthogonally to how it
makes sense to actually store the information, the extracted code will
be later used when converting between XML and internal definitions.

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