CustomEvent detail test for CustomElements and HTMLImports

Fixed #59. @sorvell ~~since I don't have push access to the webcomponents org~~ to review.