FLUID-5185: Fix and test case for "tooltip hanging after close" issue. Test case for new "delegate tooltip" feature. Fix to IoC testing framework to avoid clobbering the markup for a test before its tree has finished destroying - new lifecycle event "afterDestroy" implemented to enable this. Moved core tooltip testing utilities into TooltipTests.js