Add WORKERS_COUNT option for pkg-repo.
Add some debug messages to `pkg-repo`.
Fix distributing tasks over workers.
Fix disambiguity with POLL_IN and POLLIN.