add options to the showDropdownFromArray common method

This allow us to use the method with custom options.
continue on job's executions reporting

- added some ajax helper to load html from a jquery timer.
- added query to get every job tied to task's ids.
add log for prepared executions
cleanup obsolete debug
cleanup finish method of job's execution