[core] Support handling multiple events in one callable

This is backwards compatible even for modules that use the old (jenni) way
of setting callable parameters.

Fixes issue #394