libvirt.test: Add test for virsh detach-device

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

libvirt.test: Add test for detach-device