Don't generate <span class="cm-"> nodes when token() returns only line-foo/line-background-foo styles.
Remove tests using getElementsByTagName

The method isn't present on all supported platforms, and these
tests tested someting very obscure, and already failed on the v4
branch which representes the editor content differently.

Issue #2152
Handle spurious spaces from token().
[vim keymap] Fix to moveTillCharacter

Return null from moveTillCharacter if nothing is found, so that if a
deletion operation is active but no match was found, nothing gets
deleted. Add a unit test for moveTillCharacter.
Make hasFocus use document.activeElement, rather than internal flag

This way, it synchronously returns the current value, rather
than only being updated when an async focus/blur event fires.

Closes #2151
Fixed clojure indenting, now will try to use the user's setting
More aggressively clear line heights in refresh()

Closes #2157
[css mode] When indenting, properly pop off prop context before closing brace

Closes #2162
[closetag addon] Allow typing '/' if there's no matching open tag
[scrollpastend plugin] Don't get confused when the editor changes size

Closes #2160
[mdn-like theme] Add
[mdn-like theme] Integrate
[css mode] Added missing animation-fill-mode property

Also resorted the next few lines so one would not stick out farther than
the others.

https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode
[vim] Fix unescaping of escaped strings for search and replace

Add unit tests.
[css mode] Add simple support for @keyframes

Closes #2161
[less] don't confuse less mode..

..with the newly added simple support for @keyframes
Expose triggerOnKeyPress and triggerOnKeyUp for testing
[vim] Use key character instead of key identifier to map all character keys without modifiers
Added "historyAdded" doc event.

Added a doc event "historyAdded" which is dispatched when a new entry is added to the document history. It is not dispatched when a history entry is amended. This allows CM's history to be integrated easily into application level undo/redo.

Signed-off-by: Grant Skinner <info@gskinner.com>
Fix trailing whitespace from c7e4ad741dbfc62ab2e4394c1945cd048f99a727