making use of template file rather than a template string for ini file and few related fixes

Also adding 'bash' before run_test.sh since run_tests fails due to permission issue.
It would be better to copy test files to config node using mirror_local_mode kwarg. Then, anyone could execute run_tests.sh outside of fab as well.