core event-loop: support custom iteration
ruby: use custom iterate hook
Add fallback G_SOURCE_REMOVE and G_SOURCE_CONTINUE definitions

They are defined since GLib 2.32 or later. They are useful to write
readable callback function.