Make generator.__proto__ equal to the generator function's prototype.

Fixes #113.