IPC: pass each event to IPC stream
Tests: mock phantomas.emitInternal()
CommonJS module: pass events from IPC
Example: add a custom event listener
Merge pull request #324 from macbre/ipc-events

CommonJS module: pass events from IPC