Mark given app or plugin as disabled. It won't be activated or started
in that case.
function (apporplugin) {
    try {
      configHelpers.disable(apporplugin);
      logger.info(apporplugin + ' disabled');
    } catch (err) {
      logger.error(
        'Cannot disable given app or plugin, ' +
        apporplugin +
        ' cannot find it in the config file.');
      logger.raw(err);
    }
  }