[show-hint addon] Support styled, self-inserting, and self-rendering completions

Issue #1321