With stdin redirected from a regular file, uev_run() with UEV_ONCE does
not return until end of file:
app < file.txt
The workaround for regular files, which epoll cannot watch, restarts
the loop before the UEV_ONCE check.
Check the flag there too.
Closes#37
uev_io_set() on an active oneshot watcher keeps watching the old
descriptor, for the old events:
uev_io_set(w, newfd, UEV_READ | UEV_ONESHOT);
It only rearms the watcher, with what is already stored in it.
Rearm only when neither has changed, otherwise stop the watcher and set
it up again.
Closes#35