MDL-41421 tool_generator: Adding a test plan generator to feed JMeter

Also changing course_backend.php coding style
according to codechecker.
MDL-41421 tool_generator: Adding a CLI tool to generate the test plan