Configurable grading strategy for problems

https://openedx.atlassian.net/wiki/spaces/COMM/pages/3920789505