Fix CSV export, moving to_csv to report_doi, which represents a row in the CSV. And add both controller and feature specs for CSV export.