Move the opencoded impl out of virt-manager details.py and into virtinst, since this is entirely about XML comparison. Add tests for it Signed-off-by: Cole Robinson <crobinso@redhat.com>