Add CustomEvent constructor polyfill

- makes IE9+ and older WebKit and Gecko versions compatible with using `new CustomEvent()`
CustomEvent polyfill

- adds support for even older browsers which don't have support for CustomEvents at all
Merge pull request #12 from geoffstokes/customevent-constructor-polyfill

Add CustomEvent constructor polyfill