Fixes #8266: Allow setting the number of Pulp workers to be used.

This also adds logic to set the Pulp workers based on processor count
but to cap the maximum at 8 unless overriden by a user.