job_coordinator: simplify the send_outputs_to_consumers function.
job_coordinator: simplify the send_outputs_to_consumers function.

This new function uses lists:foldl to be more succint and easier to read.

mwilliams3/disco,beni55/disco,oldmantaiter/disco,ktkt2009/disco,pombredanne/disco,seabirdzh/disco,simudream/disco,simudream/disco,oldmantaiter/disco,beni55/disco,ErikDubbelboer/disco,pooya/disco,pooya/disco,ErikDubbelboer/disco,seabirdzh/disco,ErikDubbelboer/disco,ErikDubbelboer/disco,seabirdzh/disco,discoproject/disco,mozilla/disco,discoproject/disco,discoproject/disco,ErikDubbelboer/disco,ktkt2009/disco,mwilliams3/disco,pooya/disco,mwilliams3/disco,pombredanne/disco,oldmantaiter/disco,simudream/disco,beni55/disco,mwilliams3/disco,ktkt2009/disco,oldmantaiter/disco,simudream/disco,seabirdzh/disco,mozilla/disco,discoproject/disco,pooya/disco,simudream/disco,seabirdzh/disco,oldmantaiter/disco,mozilla/disco,mwilliams3/disco,mozilla/disco,pombredanne/disco,discoproject/disco,beni55/disco,ktkt2009/disco,pombredanne/disco,beni55/disco,pombredanne/disco,ktkt2009/disco