Improve performance of libvirt inspector requests

Currently libvirt inspector call _test_connection before every
request. It takes 30% of running time.
In patch we catch libvirt exceptions at runtime and try to restart
a failed request.

Change-Id: Ia776ca5ada841698d652f2749e74aabe57d804eb
Merge "Improve performance of libvirt inspector requests"