Move branch syncing into a Trigger that uses the configured cron.

In order to have different schedules for each project and display logs
for the latest sync, this activity was moved into a Trigger which is
always assigned and running for the parent project.