fix new job preparation if some jobs are already prepared

The filtered agents list used to find already running jobs must be reset
on each items loop since a new item can pop up at any time.
add folding capacity in the job's logs view + html fixes

- targets and actors log elements can now be collapsed or expanded.
- fixed some displaying issue when the job has multiple targets defined.
fix run preparation when actor is deleted outside of the job.
fix agent link alignment
Fix for get computer in taskjob from dynamic group
Fix menu and collect forms