2nd Reopen - Suggested fix for #8740

Tooltip: Register event handlers before content is loaded. Fixes #8740 - Tooltip: Does not hide consistently with dynamically loaded content.

See http://bugs.jqueryui.com/ticket/8740

This pull request incorporates all suggested changes from #992 including the fixed commit message.