Add script to generate profile CSVs for all people in an instance.

Also generates summary CSV of basic data for all people in an instance.

Part of #1419