Import fifomain.c from daemontools-0.53
Switch fifomain.c from substdio to buffer
Add fifo as build target
Added simple fifo tests