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)
Slight change to event names and tidied up the documentation