virttest.virsh: Add virsh maxvcpus function

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.test: Add virsh maxvcpus test

Signed-off-by: Wayne Sun <gsun@redhat.com>