[server, hooks] allow callable in dbh.TYPE_MAPPING
This is necessary for cubes introducing new custom final types whose generated
sql may depend on some extra configuration, avoiding ugly-buggy hack as done
currently by the postgis cube.
Closes #7569998
../../doc/book usr/share/doc/cubicweb-documentation
../../doc/_build/html usr/share/doc/cubicweb-documentation