Add Processor detection to parallelization

Adding OS specific processor detection for panellization of tests.  

Default functionality is to accept ENV['N'] as the processor count. If no Env is set, try to figure out the number of processors on the machine using OS specific code. If that fails, use the old default of 2.