virsh.cpu_compare: Rewrite case to cover more scenarios

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #298 from will-Do/cpu_compare

virsh.cpu_compare: Rewrite case to cover more scenarios