libguestfs: Makes libguestfs more verbose and repairs __slots__.

based-on: https://github.com/autotest/virt-test/pull/756

libguestfs: Makes libguestfs more verbose and repairs __slots__.