Add support for event flag useCapture

This passes the flag on to the addEventListener call.
Added tests for this, that run in Casper.

Used like you would expect:

```javascript
$(window).on('click', handler, true); // uses capture
```