Allow selecting courses on event exports.

Reads the `courses` specifier on the configuration file, and only includes the listed courses in the export.
I'm a little nervous about touching this code. I realize it's a straightforward copy-paste, but it feels unnecessarily risky.