Add convenient event methods to all event-emitting objects

i.e. linehandle.on, markedrange.off, etc.
[activeline addon] Don't get confused by collapsed spans

Issue #1668
[smartymixed mode] Add
[smartymixed mode] Integrate
[vim] Disable insert mode if document is readonly
Fire DOM event from contextmenu handler

Issue #1674
[real-world used] Add CodeZample
[closebrackets addon] Do not insert pair of quotes right after the word
[css mode] Add several non-standard but very common CSS properties
Remove trailing whitespace
[base16 themes] Add
[base16 themes] Integrate
[foldcode addon] Make sure unfold event is always fired

Also adds parameters to a range's clear event.

Issue #1678
Issue #1679
Do less work in setSize

Issue #1682
Add a cleaner way to force a display update without changed lines

Issue #1682
[python mode] Fix bug in handling of lambda
When pasting on Webkit, add a nonsense character to work around browser bug

Issue #1474
[vbscript mode] Total rewrite

Issue #1684
Small condition change in findMatchingTag.
[real-world uses] Add Marklight editor