Commit changes original made on the oacs-5-1 branch: adds a proc,get_mapped_trees_from_object_list, which is much more efficient thanmaking many calls to get_mapped_trees. Once again, I'm reminded of theimportance of not untabifying files.
Fixed bug when bumping to login page from within permission_p, but permission_p was called form within ad_get_login_url, which is the proc that determines which login page to use
optimization from Heidelberg: changing to use persons table instead of cc_users when restriction to registered/approved users is not needed and the persons table has all columns we need