virttest: Add support APIs for test virsh_blockcommit

New APIs:

virttest.virt_vm.VM.get_first_disk_devices()
virsh.blockcommit()

Signed-off-by: Guannan Ren <gren@redhat.com>