Upload correct submission results to S3.

- Reworked manager / grader config parsing
- Reworked result formatting for MySQL grader