Adding priority field to job_queue_rec_t

This helps sort_job_queue2 avoiding going through the priority array.

Some tests with 26000 pending jobs have shown a huge improvement in scheduling, both main scheduling and backfilling.