pkgctl build: support worker slots for none tty builds
Allow overriding the worker slot with a dedicated option. Furthermore detect if the current tty is no pts and fall back to choosing a random worker slot between 1 and number of available processing units.
Fixes #137 (closed)
Signed-off-by: Levente Polyak anthraxx@archlinux.org