Added ondismiss event listener
Bit of renaming
Event callbacks return notification data object
Merge branch 'master' into gh-pages