Support Chrome CSP’s without unsafe-eval

By using a different check for existence of SpiderMonkey generators
instead of existence of ES6 generator syntax support.

Fixes #480
Merge pull request #481 from kriskowal/gh-480

Support Chrome CSP’s without unsafe-eval