virt-libguestfs: Add test case for virt-sysprep

1. Add virt_cmd function in utils_libguestfs module
2. Add 'EDITOR' set in control file
3. Add test for virt-sysprep command