core: added 'magick' image filter options. Fixed mime lookup if lossless filter was inside a mediaclass definition.
core: fixed mediaclass lookup - now all lookups are done as documented with adherence to the module priority and the ua lookup.