Add directive for exporting indicators as CSVs

This adds back in the indicator export buttons and makes them
work even if a user isn't logged in to the API.

Closes #508