small Moodle style checker warnings

e.g. Capitalized comments, spaces after commas, multiple empty lines, long lines etc.

My editor complains about these every time I save which annoys me into fixing them (eventually).