Properly enforce GrpSubmit limit for job arrays.

bug 586
Eliminate memory leak in emulated ALPS
Merge branch 'slurm-2.6'