Add support for event flag useCapture

This passes the flag on to the addEventListener call.
Added tests for this, that run in Casper.
Merge pull request #18 from koggdal/capture

Add support for event flag useCapture