Fix scrollbar-dragging on Chrome 34 Mac

Issue #2326
Fix breaking of horizontal scrollbar by a12b1741ba819e52c49bd62ab0e68979dd67492a

Issue #2326
[vim] Refactor macro handling

Use CreateInsertModeChanges to make a copy of the latest
insert mode changes in pushInsertModeChanges so that the
latest insert mode changes can safely be modified without
bashing previously recorded macros.

Fix the :register command and add unit tests. Add a fakeOpenNotification for matching the notification text.
[vim] Fix :registers unit tests
[merge addon] Add leftChunks and rightChunks methods

Issue #2334
[sql mode] Added support for Hive
[complete demo] Enable global variable tracking for JavaScript mode
Merge branch 'master' into v4

Conflicts:
	lib/codemirror.js
Tag 4.0 release candidate 1