Added g_main_context_check_sources()

It takes the part of g_main_context_check() that is useful
to main loop backends, sans the fd array.