test_result: fix display of durations

 - str() because in ERP5JS the duration are directly serialized to json,
   which is not allowed.
 - int() to have a second level precision, which is more readable.
14 jobs for fix/testresult-erp5js-duration
in 0 seconds, using 0 compute credits, and was queued for 0 seconds