Cleanup: Fix codechecker issues, and some moodlecheck issues.