asm.max_grade is nil when there is no questions in an assessment, fixed
Merge pull request #285 from wangqiang1208/bugfixing/empty-asessments

fix for "nil can't be coerced into Float"