Move function search paths to _cross

The functions' search paths in tm_cz had references to other schemas in
their search_path. Moved the search path specification to the _cross.sql
files, which are only executed after all the schemas are created.

Some refactoring as well.
Fix point when the META fix_ targets are called
Don't change perms on pg_* tablespaces
Regenerate tm_cz ddl files
Merge branch 'master' into gwas