Added 'once' functionality to listen for an event once

Quite useful shortcut, similar to what socket.io has.