Fixes to total_cpu_count and number_of_processors handling, should fix an BJ error, UNTESTED ON STAMPEDE since it is down right now...  well, this is the devel branch after all :)  Works on my local SLURM install though...