Failed job duration stats

Duration stats on failed jobs
TUBO-3688

This was something I wanted a whileago. Not sure how useful it will be but it's a nice extra stat we can have.