Issue #2239915: Set site variables in install & update routines to handle permissions by pmpermission module for pmteam, pmorganization, pmproject, pmtask, pmticket, pmtimetracking, pmnote.