Add counting the number of CPU's in goma module

This will be used to set -j option when running build system (e.g. make, ninja, scons).
After landing this, I will set -j of chromeoffice buildbots using this function.

BUG=544330

Review-Url: https://codereview.chromium.org/2291273005
8 files changed