[show-hint addon] Add completeOnSingleClick option

... to make a single-click pick a hint option instead of just
selecting it.
Fix IE showing empty with 0 padding and resize-to-content

Fixes #2011 in at least IE8+.

When the resize-to-content styles are applied along with a removal of vertical padding on .CodeMirror-lines, IE would not display any content. Using `offsetWidth` instead of `clientWidth` fixes this for modern-ish IE.

A more complex solution is needed to solve it for older browsers.