Added configItem['geom_column'] to query

I have changed the check function so it reads the geometry column directly from the config file.