MDL-43089 quiz renderer. Move changes out of locallib.php.
MDL-43089 remove junk use statement.
MDL-43089 Move editmaxmark string to quiz lang file.
MDL-43089 move rendering code from lib.php to renderer.php.
MDL-43089 Fix a whole bunch of codechecker issues.

Still plenty more to go.