[GEOT-4252] Add an optional geometry_columns metadata table (backport to branch 8.x)

This is a backport from master of

https://github.com/geotools/geotools/pull/20#issuecomment-8583614