Save Job statistics

Merged David Mendez requested to merge staging into master

This allows the system to save generic statistics and custom statistics per job. In the case of the custom statistics, the system generates the endpoint for statistics in the job params yaml.

Merge request reports