Don't send callbacks when there are no listeners.
[CB-2290] iOS: 'CDVJSON.h' file not found when adding a plugin