Fixed ElementCapabilities after Kaitlin's recent fix patch.
Fixed the STREQ check that was accidentally removed in the last version.
This refactors all of the necessary functions in libvirt-cim for the new
API. Things only got cleaner, I think. I also found a substantial number
of memory leaks in the process, which are fundamentally fixed by the new
API which I think is a validation of it as "the right thing to do". All
required changes should have been easily spotted by the compiler, but some
testing would be good.