virt-libvirt: add configuration for virsh edit

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: add virsh function for virsh edit

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: add test for virsh edit

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>