WIP: Multiple catalog
This work is on top of erp5_catalog branch, so we are using erp5 catalog everywhere in this case.
Multiple Catalog:
- Site Manager creates multiple catalog using different connections.
- Each erp5_catalogcomes with apredicateobject.
- Extra attributes for catalogobjects:- Validation state : Cataloging would be done only in validated catalogs.
- Predicate: Predicate would be checked on each object to be cataloged.
 
- Every user would have preference to chose the preferred_catalogand that one would be used as the result ofgetSQLCatalog, without changingdefault_erp5_catalog_id
Problems:
- Circular dependency while looking for preferred_catalog. For now, this has been taken care of by usingdefault_erp5_catalog_idfor the result ofgetSQLCatalogin case the user is manager. So, this way atleast we have all user and preferences cataloged at one place.
