MDL-41882 tool_generator: Adding maketestsite script

Uses maketestcourse.php to set up
a test site.
MDL-41882 tool_generator: New unit test