Added .throw() and .return() tests for generators.

Also fixed the TypeScript build functionality to target ES5.
Merge pull request #352 from webbedspace/ts

Added .throw() and .return() tests for generators.