pipelet.js: add debug info for on() "once" events; fix listener removal for "once" events