Merge "[JobQueue] Job queue refactoring and generalizing."