Began adding Media "management" (+ many changes, see extended description)

Removed excessive IVs, added images_questions relational table, fixed
quiz/exam generators, many view bugfixes, fixed classIDs,