[libvirt] [libvirt-glib 2/4] Add helpers to parse xml trees