Enforce maximum job queue length

Do not allow new jobs to enqueued via the frontend thread if the current
job queue is larger than config.redis.max_job_queue_length. Return a 503
in that case.

Change-Id: I078d43763dc75c05b550be4bddd7f04b316ac562