expanded filetype whitelist for learning materials uploads

and tweaked mime-type/file-type mapping to accommodate for mime-magic's faulty detection of certain MS Office document-types.