virttest.utils_test.libvirt: add utility for VM migration

This PR and PR 1875 help do VM migration.
Can we improve MigrationTest class or libvirt_vm.migrate to finish these jobs?