Stbt templatematch  no depr warning

- unset STBT_CONFIG_FILE for tests/run-tests.sh
- rename some parameters and variables to improve readability
- raise `MatchResult` with `template` to avoid DeprecationWarning