VG-1983: Better validates if cx_Oracle is working

Also includes changes for VG-1968 to support table views.