Initial implementation of single database query test type
Prefer Foreground executor.
Statically import ResponseData to be consistent with the Java app
Update setup_groovy.py script to accommodate db tests.
Tidy up.