Fix problems listing in staging dashboard

 * Group building failures of the same packages in just one line
 * Only display the first 5 problems
Merge pull request #18 from ancorgs/fix_problems_partial

Fix problems listing in staging dashboard