Added functionality to to task system to pick the idle task if there isn't anything to do.
Added functionality to to task system to pick the idle task if there isn't anything to do.

stefanweck/modularAI,stefanweck/modularAI