MDL-38833 core_grade: added a set_type for finalgrade
Merge branch 'MDL-38833_settype' of git://github.com/andyjdavis/moodle
MDL-39362 Admin: fixed setType() error for networking