MDL-47058 core_grades: removed unnecessary print_object call

Part of MDL-46576.
MDL-47058 core_grades: allow alteration of weight

Part of MDL-46576
MDL-47055 core_grade: implemented support for extra credit within natural weighting
MDL-47055 core_grade: fixed extra credit handling on the full setup page