Refactor: scheduler: Create a new message for a list of failures.
There's enough complexity in traversing the list of failed actions and
deciding which ones to print that it should be its own message. This
will use useful elsewhere.
See: rhbz#1686426