[DB2] Fix error on named index removing
Oracle only needs add_limit_offset! on AR 2.3
use arel_visitor_type with DB2/AS400
DB2: only need `add_limit_offset` on AR 2.3
avoid AR 4.x deprecation warnings in tests + an update_all test for all
no need to re-implement to_sql on AR >= 3.1