Eng 6998 geb in up sert into select

The "GEB" (genqa/gradlew) tests now include tests of UPSERT, INSERT INTO SELECT, and UPSERT INTO SELECT queries. Also, I tweaked them to work better with the latest version of the new UI (which, however, will need more work when finalized, see ENG-7001); and improved debugging options.