test_result: fix "Retry Count" being acquired on test result line

At the end of test result, we calculate the sum of test result line
retries and set it as a property on test result. Listbox will then
show for each test result line the number of retries. Problem is
that we did not set retry count property on test result lines which
were not retried, so they acquired this from the parent test result.

To prevent this, always set a retry count property on test result
and set it to 0 when they are not retried.
8 jobs for feat/price_quantity_unit in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

01:53:49

passed SlapOS.Eggs.UnitTest-Master.Python2

00:22:56

passed SlapOS.Eggs.UnitTest-Master.Python3

00:11:59

failed ERP5.UnitTest-Master

02:28:45

passed SlapOS.Eggs.UnitTest-Master.Python2

00:25:33

passed SlapOS.Eggs.UnitTest-Master.Python2

00:26:37

passed SlapOS.Eggs.UnitTest-Master.Python2

00:19:50

passed SlapOS.Eggs.UnitTest-Master.Python3

00:10:49