Adds tooltip self-ref; addresses #12320 #12342

To fix #12320, add a data reference on the tooltip (and popover) such
that calling $(‘#myTooltip’).tooltip(‘hide’) will hide the visible tip.