Added functions to remove references to WT_VAR_1.
Tidied interface in low-level tests.
Pushed through changes for WT_VAR_2.