Fix for issue https://github.com/angular-ui/bootstrap/issues/96. Refresh tooltip after any change in the content.

At every content change checks if the tooltip is open. If so hides it and then shows it gain. This automatically position the tooltip correctly. Uses $q in the hide() function in order to notify the caller when the tooltip has been hidden.