erp5_banking_core: Drop orphan related keys.

These related keys override auto-generated ones without adding any value.
Also, they are not declared as related keys, so declaration is
auto-generated and may not match ZSQLMethod parameters, causing errors.
ZSQLCatalog.SQLCatalog: Pass sql_catalog_id to getDynamicRelatedKeyList.

Also, get rid of single-use locals and unneeded list copy.
ERP5Catalog.CatalogTool: range can generate decreasing sequences directly.

Also, use xrange as it's faster than range even for short sequences.
ERP5Catalog.CatalogTool: Do not join with catalog when condition is on uid.

Also, factorise related key string generation.
ERP5Catalog.CatalogTool: Support all catalog columns in auto-generated related keys.