Make tooltip details compatible with jquery 1.9

.after no longer works for disconnected dom nodes,
as we were doing for tooltip details.

http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes

instead, wrap the tooltip in a <div> and append the
tooltip elements to the div.

Bug: 65492
Change-Id: I8ec8f524612d5443f1652a8ebd0ad6d0a894eb2c
Merge "Make tooltip details compatible with jquery 1.9"