virt-libvirt: update-device version-specific behavior

* Added --persistent and --config version-specific behavior checks.
* Updated test to use disk device XML class.
* Re-worked result checking logic to be easier to read

Signed-off-by: Chris Evich <cevich@redhat.com>