Allow selecting courses on event exports.

Reads the `courses` specifier on the configuration file, and only includes the listed courses in the export.
We do have unit tests for this area. I prefer to do a small cleanup for the sake of sanity, but if you think it is too risky then I'll let it as it was.