[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.
[runmode addon] Add resolveMode and registerHelper shims

Needed for some modes to load.

Closes #2054
Merge branch 'master' of https://github.com/marijnh/CodeMirror
[markdown] Lists after atx headers should be highlighted

Closes #2040
[markdown] Specify type of list when highlightFormatting is enabled

Closes #2039
[real-world uses] Add writeLaTeX
Don't close undo events by default in changeGeneration

Closes #2059
[run-mode addon] Add hideFirstChars to stand-alone shims

Issue #2054
[runmode addon] Fix broken node.js version

Issue #2054
[runmode addon] Support a state option to provide a custom stating state
Added builtin values

And put string in alphabetical order.

- varying
- xml
- bit
[vim keymap] Add support for <CR>, <C-e> and <C-y>
Fix problems introduced by new rule for indenting empty lines
[hardwrap addon] Prevent null-use error in corner case

Closes #2070
[sql mode] Don't return CodeMirror.Pass when in top context

Issue #2064
[matchbrackets addon] Fix typos
[gfm mode] Fix exponential running time in regexp
Clear input field when disableInput flag is cleared

Issue #2060
[test driver] Clean up test selection