intelli_plug: refactor stats calculation code to be less intrusive

Signed-off-by: Javelin <javelinanddart@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile
	kernel/sched/core.c
	kernel/sched/sched.h