Extract certificate details

Needed for theodi/shared#216

This generates a CSV with the fields requested by @sumikasan (apart from "Date published" - I don't think there's a way to get them)

This is only available to admins, as there's personal data in there, so @sumikasan's user ID will need to be added to the `ODC_ADMIN_IDS` env var.