Read mimetype information from plugin meta data instead of plugin API
This is another step towards on-demand loading of plugins.