Enable gang scheduling with core specialization

Added whole_node field to job_resources structure
Enable gang scheduling for jobs with core specialization and other
jobs allocated whole nodes.