libvirt.test: Add mode(agent) test for shutdown

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #110 from liyangfnst/shutdown

libvirt.test: Add mode(agent) test for shutdown