cli: wait for per-server failure injection threads to finish before returning
Factored out log collector from api/server, added encoder to it
Worker WIP
Update integration tests with timestamps and log levels