[cpu-daemon] variation based cpu frequency change

cpu usage variation will mainly checked to scale up/down, step up/down
the cpu frequency.
thread and memory variation will supportively step up/down the frequency.