467-fixes-tooltip-popover-issue

fixes issue where the tooltip remains after click of the menu button
- a “content” function was added to the popover object, allowing us to
add events to the click of the button
- on the click event, the content function triggers the
tooltip.(‘hide’) event
- also cleaned up button code for readability
Merge pull request #7 from ooiepe/467_tooltip_fix

Updates #467 - Fixes tooltip/popover conflict