Fixed the running of tests for repos that do not contain the BDE waf customization scripts.
Added a maximum bound (24) to the default number of jobs.
Optimized setting the upper bound of the number of jobs.