change plan worker to ensure all activities are saved first

Added one line to PlanWorker:

plan.activities.each { |activity| activity.save }

This ensures all activities save, and therefore the data is there, before ActivityCluster springs into action.