define-event Simple function defineEvent(object, eventName) for creating event (callbacks container) in object.