1. fixing bugs2. adding tree files and tree functions (the tree that will be shown like the one in LORS)2.1. taking into account activitie's properties that were not need to be evaluated in the 'portlet view'
checking for parent object_type for any attribute_name when searching for an id (not just email) and removing ams::package_id proc because it was useless
fixing references to party_id that were not - in search condition types is not an id, its the reference to the party_id column, which might be o.organization_id, or p.person_id or parties.party_id, etc.
removing re-added contact::special_attributes procs because they were moved to to callbacks in the contacts-callback-procs.tcl file, also cleaning up flush proc and making it much cleaner.