Move number_of_workers to RailsParallel class.
Fail if number of cores cannot be determined.