Pry::WrappedModule: Make #candidates 1.8 friendly.

1.8 doesn't support Enumerator, so we return Generator instead.