slight style changes

- add another color for cancelled states.
- change order of last_execs and last_states type classes.
limit executions preparation to 500 per targets
fix agents list ordered by date

The query was not fetching the correct date and the result was an
incorrect sorting of the agents by last execution date.
clean debugs and obsolete code
fix display issue when switching tab in tasks form
revamped refresh button
remove debug
Merge branch 'master' of https://github.com/fusinv/fusioninventory-for-glpi into 0.85/pushisback
Add a function to get all current active timeslots