Implement CSV downloads for the raw request logs in the admin.

There was a CSV download link present that was previously broken. This
implements it using elasticsearch's scan and scroll queries to
efficiently stream back possibly large result sets.
Fix the download URL not always being updated.

This was sometimes leading to the download URL being the download for
the previous query and not what the user was currently looking at.