add failing test for #13268
put the tooltips into the DOM in the tooltip unit tests
don't show tooltips/popovers whose element isn't in the DOM; fixes #13268
Merge pull request #13752 from twbs/fix-13268

Proposed fix for #13268