Refs #3312 - extend API to satify the usage from zpt/dtml from ZMI Applications

+ fix Catalog search