Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Signed-off-by: artas182x <artas182x@gmail.com>
PowerManagerService: use disablesuspend property to disable suspend mode

Change-Id: I9ea1f398a0b4613c91e4dd4679d40837547aeb2c
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: artas182x <artas182x@gmail.com>