MDL-31890 added core_grading_get_gradingform_instances web service
function