Add support for generators. Closes #3.

If the visionmedia/co module is resolvable or `options.thunks` is set,
callback methods are wrapped to return a thunk for generator flow control.