libvirt.test: Fix some problems in test code

1.Restart cgconfig and libvirtd after test to recover env
2.Set swap off before memroy test
3.Fix checkpoint after domain install
4.Change umount action's timeout to 120s

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>