Added PHPUnit based tests for the course part
Initial tests draft based on phpunit

Added an initial tests draft based on phpunit. This is the new
testing library used in Moodle.

Minor changes to filenames and classnames to avoid conflicts with
the Moodle internal mechanisms.