Add a helper to explicitly create the mongo collections for the app.

This can be used when resetting the site (e.g. for test runs), to make sure all
indexes are created correctly.