Small fix for some event runners, and to refactor task method

This patch intend to fix for #163 and #162
Could we break lines here?

```javascript
var promise = when.isPromiseLike(promiseOrResolver)
	? promiseOrResolver
	: when.promise(promiseOrResolver);
```

Not super important, but more consistent with other troop code (we may want to change that in the future, but for now that's what I use all over the place)