Add script to generate summary CSV for all people in an instance.

Part of #1419
Merge branch '1419-csv-export'