Make Autotest Results Compatible with API

Though the Autotesting system within MarkUs is still non-functional, we seem to have the option to upload display test results using the MarkUs API (see wiki page for details).

However, the old way of load test results wasn't working with the API, so I've updated it to be compatible with that, at least. I'm not sure if there's supposed to be another, currently functional way of generating and displaying test results, so if there are no objections, this is the change I want to make so that I can use this feature in the fall.

Review of the code and other thoughts welcome!