Fix for issue #96. Refresh tooltip after any change in the content.

This pull request fixes issue #96.

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.