Port over nthreads and cpus_allowed changes from h2o-1.
Merge branch 'master' of github.com:h2oai/h2o-dev