Implemented some toolbar related events

'toolbaritemclick': Triggered when a button in the toolbar is clicked
'toolbarshown':     Triggered when the toolbar is shown
'toolbarhidden':    Triggered when the toolbar is hidden
Code linting (JSLint)