Add tests for managedsave command.

Test bypass_cache option
Test bypass_cache and start_delay option in libvirt-guests configuration file.
To use unified api, wait_for is a common function for time wait. It can avoid unnecessary or redundant 'import'. Do you agree?