Add VIM folding marks
Expand update event object
Fix undefined value property in IE8
Fix test errors in IE8

KeyboadEvents can only be fired on nodes that are part of the DOM (not
detached).

Can not modify <INPUT> element's type property on detached elements. Use
stub to skip the need to evaluate setMask.