added $YCM_CORES - useful for building on machines with small amount of memory

On virtual machines with lots of cores but small amount of memory YCM will not build due to the not enough of ram/swap, but if you try to build with less number of simultaneous make's it works.

So i've added handling of $YCM_CORES variable, the user can override the automagic cores detection.