Fix issues with window load events.

Window load events are supposed to be dispatched on the window with the target
set to document and the currentTarget set to the window.

Fixes issue 76
Merge branch 'window-on-load' of https://github.com/arv/ShadowDOM into arv-window-on-load

Conflicts:
	test/events.js