stbt templatematch: Rewritten (for speed) to use stbt python API

...instead of calling `stbt run`. This runs in 1/13th of the time of the
old version. This is important if you use `stbt templatematch` a lot in
the self-tests for your body of stbt scripts.

While I'm here I added an extra self-test for the argument checking.