Moved GeneratedCertificates.MODES back inside model.

LMS-6631
Merge pull request #4268 from edx/usman/lms6631-certificate-mode

Moved GeneratedCertificates.MODES back inside model.