libvmc.py: small clean-ups and better KVM method ordering