Refactor for regenerator's breaking changes

facebook/regenerator's api changed in 0.6.1.  This patch adds support for the change.

`gnode -p` tests are failing, but i'm pretty sure that's unrelated.

Closes #14.