Spreadsheet exports (PMT #95661)

This generalizes our spreadsheet exporting, and adds this feature to the staff report and the weekly summary report.