libvirt.VM: Add serial console setting functions.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt-libvirt: Add test module for virsh console.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>