fix and update network inventory module job
fix dropdown for itemtype at 90%
cancel jobstates instead of deleting them
change the way running jobs are selected

A running job has a state different to finished, in error or cancelled.
avoid blocking automatic action
integrate timeslots in tasks
clean some obsolete commented code
use named constants instead of integers directly
remove duplicated taskscheduler
cleanup tasks update and install
add more logging level