Attaches an instance-local event bus to the object, allowing other objects to listen for events generated by that specific instance only. Attached methods:
on()- Adds a listener just like
off()- Adds a listener just like
_trigger()- Sends an event to the bus.
Can be attached using
This functionality is very similar to what is provided by for instance Backbone.Events.