Implements new api for events

This commit implements the new API events where now the first argument
to a function is the element being acted on and the second argument is
options. It goes from:

```js
Syn.click({}, element)
```

to:

```js
Syn.click(element, {})
```

Fixes #39