dojo/on: added on.handleError for addListener
Merge pull request #1 from EqualMedia/capture-errors-in-on

dojo/on: added on.handleError for addListener