fix import bug when editing group
move some codes out of event/common.py, and some lazy imports
lazy imports in monthCal.py