Get GeneratorFunction from eval and set name if not exists

Closes #61
Get GeneratorFunction by using Function constructor

issue #61
Style tweaks after merging issue #63.
Bump NPM version to 0.2.11 in preparation for publishing.