virt-libvirt: Accessor generators for common XML mods

Signed-off-by: Chris Evich <cevich@redhat.com>