Finish the refactor of Summary data

This fixes the frontend and adds logic to combine summary data. So this
means that each candidate has only one record in the `summaries` table
which has the most up-to-date information based on the last summary.