(travis) Revert bc418819f - it doesn't work. Instead check vm kernel health
The functionality introduced in 7ad80222 requires a certain CDBI

Skip it on older versions (wow - people *do* run these in the wild)
https://metacpan.org/source/TMTM/Class-DBI-v3.0.5/Changes#L6
Adjust things for the is_literal_value SQLA 1.80 fix (SQLA 52ce7dca)
Extra tests to ensure that the cond collapser will not mask SQLA deprecations

No functional changes except for a minor SQL reordering adjustment