MDL-46576 Gradebook: Fix coding style in lib/ and local/
MDL-46576 core_grade: grade/lib.php style fixes