added in db.code grades to db.scores skeleton function
wrote accumulator patterns
added session flash to migrate script
made get_problems grade follow same pattern as getting assignment grades
updated problem json to hand back correct score
got code modal to work correctly