changed mg_get_mime_type to expect the default type as argument

instead of using a configuration option