fix the "on%prop%" handling

We need to be sure to *not* return a function instance when the get()
function is invoked, otherwise node-core will take that function and
invoke it directly, rather then thinking that the `on%prop` is set, and
should emit the event name instead...
use debug()
really fix the `on%prop%` handlers