Out of Tree compilation support
Properly point to utils.mak through BASE
Make a distinction between BASE and CFGDIR, and properly set them
This is useful for out-of-tree build
fix sched: selection in case of BEST policy and tie was not uniform random
It was supposed to be uniform random among those with equal score,but it wasn't working.Changed implementation to qsort based, with randomization afterward.
renaming som to src