Add management command to create the email opt-in list.

This is the first part of [ECOM-689](https://openedx.atlassian.net/browse/ECOM-689).

Outstanding issues:

1) Need to verify with @griffresch and @shnayder what the expected behavior is for users who have unenrolled from every course in an org.  In this implementation, they're excluded from the output entirely.

2) We'll need to integrate this into the analytics-exporter code.  That code already knows the aliases for each org and any restrictions on which courses are used in the report, so we'd need to pass that config to this command when executing it.

3) I haven't yet tested this on a dataset larger than 8,000 enrollments.

Reviewers: @stephensanchez @brianhw 
Could you give me an example of how this might look?  When I try to combine the two queries, I'm getting an error: "only a single result allowed for a SELECT that is part of an expression"