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