virttest.utils_test: Init subtest_dir in run_virt_sub_test

Init subtest_dir to None otherwise, it will report the variable
referenced before assignment.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
add debug() function
Merge pull request #1719 from vanbogithub/bfan-next

add debug() function
Merge pull request #1717 from ypu/run_virt_sub_test

virttest.utils_test: Init subtest_dir in run_virt_sub_test
virttest.utils_conn: support more features

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>