merge changes on oacs-5-1 branch to head, changes between jcd-merge-20040420 and jcd-merge-5-1-20040517 were merged, head pre changes is jcd-merge-pre-20040517 and post is jcd-merge-post-20040517
Put functions into a search:: namespace and make most private. Add a search::queue and search::dequeue command define_function_args/package_exec_plsql to avoid db specific xql files. unset datasource when finished with it. bump to 5.2.0d2 + postgresql upgrade script.