Add iface related commands wrappers and libvirt common test functions

1. Add wrappers for virsh iface related commands
2. Add two functions for libvirt test calling
3. A typo fix.