cocoa: use a CFRunLoopObserver for running the uv loop
implement RTB_ELEMENT_IS_MARKED_DIRTY macro