Manage listeners from the kernel

Have the kernel directly manage event listeners. Support namespaced event names.

The kernel will use a private namespace in `branch/collection-events` to send meta events into the application using names that won't conflict with any possible application event name. Additionally, the kernel will need to have direct knowledge of event listeners in order to replicate them correctly.

This is a predecessor to `branch/collection-events`, which uses the event mechanism for the kernel to deliver meta events into the application.

@eric79 , please review.

I think it would be clearer if in each of these `case` statements, the actual string of the `kernelFunctionName` were used (in this case, `this.kernel.addEventListener`) rather than sticking with the variable.  (Unless, of course, you plan to factor out the repeated code into a separate function, which would probably be a good idea)