objgenerator: Handle default args to generator functions.

Addresses #397.
Merge pull request #399 from pfalcon/gen-defargs

objgenerator: Handle default args to generator functions.