Implement UIEvent constructor
https://bugs.webkit.org/show_bug.cgi?id=107430

Reviewed by Adam Barth.

Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm

UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
which is enabled on Safari and Chromium for now.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Test: fast/events/constructors/ui-event-constructor.html

* Configurations/FeatureDefines.xcconfig:
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
* bindings/scripts/test/V8/V8TestInterface.h:
(V8TestInterface):
* dom/UIEvent.cpp:
(WebCore::UIEventInit::UIEventInit):
(WebCore):
(WebCore::UIEvent::UIEvent):
* dom/UIEvent.h:
(WebCore):
(UIEventInit):
(UIEvent):
(WebCore::UIEvent::create):
(WebCore::UIEvent::view):
(WebCore::UIEvent::detail):
(FocusInEventDispatchMediator):
(FocusOutEventDispatchMediator):
* dom/UIEvent.idl:

Source/WebKit/chromium:

* features.gypi:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/webkitperl/FeatureList.pm:

LayoutTests:

* fast/events/constructors/ui-event-constructor-expected.txt: Added.
* fast/events/constructors/ui-event-constructor.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140493 268f45cc-cd09-0410-ab3c-d52691b4dbfc