Allow selecting courses on event exports.

Reads the `courses` specifier on the configuration file, and only includes the listed courses in the export.
Do we have full branch coverage? There are a lot of wonky edge cases in here...