fix subject_grades
fix curriculum total calculation when removing a subject
fix deploy: generation of datamodel changes when column spec changed
few fixes in transcripts part