Another partial fix for #1144: join on rel_id, too, so when a user has two rows in cc_users he only shows up twice, not four times (cartesian product of all the relations)
Fix for #1144: duplicate rows in cc_users. group::add_member will now delete any memberhip_rel or child thereof before inserting the new relation. It didn't before, and this could cause a user to have both a membership_rel and an admin_rel relation to the registered_users group.
use clobs for to_addr, headers, body; fix load_qmail_mail_queue.holdinsert query, fix upgrade script, make constriant names conform to standards. Fixes bug 1231
Fixed Bug 1226- Break security inheritance for the newly created calendar object to explicitly take the create permission from regular users.- Grant 'admin' to Admins and 'read' to Community Members on the calendar package, not only on the particular calendar