Sanity check for Correct QOS on startup.

If a QOS was added for the job and then removed and it just happened
to be the largest QOS id wise if the slurmctld was restarted and the job
wasn't flushed out yet it could mess things up.
Merge remote-tracking branch 'origin/slurm-14.03' into slurm-14.11