Check VM state using libvirt

Use python-libvirt bindings to list the available domains,
states and capabilities