Add dry-run option to flagged forum post digest

A new "--dry-run" flag has been added, which will print the course_id
and email address for intended recipients, instead of sending an actual
email.

Other, minor changes have been included, in preparation of deploying
this feature.
I know you didn't write it, but having a local variable with the name of its parent context makes me sad.