Add runtime check for available CLI plugins
Currently we collect the supported mimetypes by iterating over the list of
plugin metadata. This patch adds the cli executables to the json metadata,
in order to check at runtime whether we can actually advertise support for the
mimetypes associated to every cliplugin.
Differential Revision: D1139