erp5_ui_test_core: Make waitForActivities independent from the number of...

erp5_ui_test_core: Make waitForActivities independent from the number of activities processed per tic.

That number was vastly decreased, causing UI tests to bail with "tic is
looping forever" for no good reason.
Convert such logic into a deadline one.
101 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds