Changed PHPDocs and added date to the copyright to match Moodle coding guidelines