Also refactor util.sh in the process, so test scripts become easier to write (inspired in part by lake's test suite).
This PR migrates most remaining tests to the new test suite. It also completes the migration of directories like `tests/lean/run`, meaning that PRs trying to add tests to those old directories will now fail.