Add tests for managedsave command.

Test bypass_cache option
Test bypass_cache and start_delay option in libvirt-guests configuration file.
vm state can be "paused"/"pmsuspend" for is_alive() function. Here the code just deal with vm in "running" state. Thanks a lot!