Tern attaches CSS classnames to the hint box, you can utilize them to style it, e.g.:
.CodeMirror-Tern-tooltip:before {
content: url('http://n5.nabble.com/images/smiley/smiley_thinking.gif');
width: 20px;
height: 20px;
}
… which will result in this: