Provide helpers for resyncing an index with a repo.

`app:main` has changed in recent times. It's now [app:cmsfrontend](https://github.com/praekelt/puppet/blob/develop/modules/unicore_cms_frontend/templates/pyramid.erb#L6)