isolate PythonEvents from main dbcontext
Add Totals back to AttendanceDetail report