tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()