enumerator.c: Module#enumerable

* enumerator.c (mod_enumerablize): new method to make a method
  enumerable.