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

Also fixed the TypeScript build command, allowing it to target ES5.