Slow down "lazy" scheduling

Rather than attempting a scheduling loop as frequently as every
1 second, wait 3 seconds for performance reasons.
Optimize scontrol hold/release for job arrays

Cache job information and drop out of loop after finding the
desired array task. This improves performance a fair bit.
bug 684