nproc: support --all and --ignore and respect OMP_NUM_THREADS
Merge pull request #430 from Arcterus/nproc

nproc: support --all and --ignore and respect OMP_NUM_THREADS