Remove some boilerplate arg-passing to utils.sh in test scripts.
Pass $GLOBAL_OPTIONS to rr dump in tests.

This prevents warnings such as the "performance governor" warning from appearing
in the test log.
Clean up test scripts.

Put util.sh inclusion as the first line of every test script.

Avoid setting unnecessary shell variables like $testname and $test to hold the
test name.
Simplify tiocgwinsz.
Make more tests reduce to a common test script that just does "compare_test EXIT-SUCCESS".
Rename BASIC_TESTS and CUSTOM_TESTS to TESTS_WITH_PROGRAM and TESTS_WITHOUT_PROGRAM.
Introduce BASIC_TESTS category for tests that use a 'compare_test EXIT-SUCCESS' script.

We're going to have to add a lot more tests as we expand our syscall coverage.
Almost all of these tests will just do "compare_test EXIT-SUCCESS" in their
run script. So it seems like a good idea to have a category of tests in
CMakeLists for which that is the default run script, so these tests don't need
a run script of their own.
Move more tests to BASIC_TESTS.