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
replace obsolete taskjob's fields with the good ones
add missing migration keys
Merge branch '0.85+tasks_redux' of https://github.com/fusinv/fusioninventory-for-glpi into 0.85/walid
change the jobstate status when sending deploy config
check for existing options in our common DropdownFromArray
fix some jobstates preparation issue

Job that has already been sent to an agent must be cancelled since there
is most likely an error on the agent side.
more work on job logs reporting
Merge branch '0.85+tasks_redux' of https://github.com/fusinv/fusioninventory-for-glpi into 0.85/walid
Fix rights in setup
Fix bad syntax