virt.tests: autotest.cpuflags test fix

Add control file to shared.control and update compress command to
compress virt dir to source tarball because autotest.cpuflags test
requried it;
Update compress result command to ignore core dump and crash file to
avoid compress or scp failed;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #934 from xutian/fix_autotest_cpuflags_stress

virt.tests: autotest.cpuflags test fix
virttest.utils_libguestfs: Add inspect functions for Guestfish class.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Add testcases for guestfish inspect operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.utils_libguestfs: Add file operations for Guestfish class.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Add testcases for guestfish file operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt-libguestfs: Add 'EDITOR' set in control file

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add functions to get first nic of domain

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt: Add virt_cmd function in utils_libguestfs module

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libguestfs: Add test for virt-sysprep command

1. Clone a guest and login this guest to do some actions
2. Execute virt-sysprep to reset or unconfigure a virtual
   machine so clones can be made
3. Confirm reset result.

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