fixup postgis null comparision tests
add missing exception translator for datasource exceptions by catching std::exception - closes #1816
add test for #1816