Adding moodle coding style checkings

Credit to Damyon Wiese
https://github.com/damyon