Fix content nil issue in gradings
Merge pull request #180 from wangqiang1208/bugfixing/course_96_grading

Fix content nil issue in gradings
Add back permission check.
Merge branch 'development' of https://github.com/Coursemology/coursemology.org into undefined_method_levels