convert some qmgmt functions to use the JobQueueJob object. for #4613
This commit converts SetAttribute and  InitJobQueue to use the JobQueueJob class