modified gmg to use plugin media_types and converted image media_type to new plugin style
removed CompatMediaManager() since all core media_types are classes
removed sniff_handler from Imange Media Manager class