addEvents on view adds an array of event definitions