[common] implement libev wrapper

 * need a way to mark a watcher as "don't keep the loop alive"
tmp
use event wrapper