This fixes date arithmetic, "insert into ... select" column order mismatch,and concatenation syntax error in acs-mail-lite. Bug 1719, patch 489. Gabriel Burca.
add commit for Gabriel Burca to apply patches, generally clean up some old entries where people had module perms + whole tree or should have whole tree anyway