New job queue system which the new MaintTool4 uses for longer running processes

Main code rev. 1957