Fix the builtin min() and max() functions (and add tests).
Fixes #539
objgenerator: .print(): Output real underlying function name.
objgenerator: Fix check for too few args passed to gen function.
objfun: More debug logging.
Merge pull request #544 from lurch/fix-minmax

Fix the builtin min() and max() functions (and add tests).