lib: set long-running plugin workers threads to idle IO class

Merged Robert McQueen requested to merge ramcq/ioprio into master

As outlined in, running the threads which do intensive IO work (installs, upgrades, downloads) at SCHED_IDLE class significantly reduces disruption on the user's interactive tasks while the software updates take place. This effect is beneficial with the default CFQ scheduler, but most pronounced with BFQ where the mean and worst cases are returned to match those if no software install is taking place.

Merge request reports