Allow per-repository queueing setting.

This is a work in progress.

This utilizes settings to allow configuring a maximum number of builds to run for a specific repository.