libvirt.tests: Support multiple devices for multifunction test.

Add testcases for multifunction of vm.
1.Add single device with pci slot
2.Add multi devices with pci slots