Added IE9 CustomEvent constructor polyfill
Fixed IE9 bug in shadowDOM tests