The bycore mode respects threads requirement (allocated cores so that
that number of cores on each host is divisible by the number of threads).
Small fix in reporting status (reports # of avail cores as well).
Merge pull request #14 from slosar/master

The bycore mode respects threads requirement