Made totally compliant with Moodle Coding style!

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>