Support enrollment mode breakdowns

Breakdown enrollments by mode.

Reviewer: @brianhw
Secondary Reviewer: @rocha
FYI: @jbau
It can be done, however it requires some complexity that I have been trying to push into a single refactoring, see the "HiveQueryToMysqlTask" defined in #25