Support user callback function in event loop.
Added append_multi method to GlirQueue.