fixed some errors in attendance/utils.py
added static method alculateSummary in Discipline
added some comments