virttest.virsh: Update snapshot_list for support extra options

The current function will fail to return snapshot list if '--name' or
'--tree' option is specified. Update the function to handle the two
options and return expected snapshot list.

Signed-off-by: Wayne Sun <gsun@redhat.com>