add element event handling; make tests work in browser
Merge branch 'master' of https://github.com/YR/event

* 'master' of https://github.com/YR/event:
  add dom element event listening support
  dispatch event objects

Conflicts:
	test/event-test.js