Make MediaViewer's main object accessible via mw.mmv.viewer
completed by: ☃ unicodesnowman
mentors: Gergő Tisza
This is T76923 in Wikimedia's issue tracker.
Students are required to read Wikimedia's general instructions first.