lowmemorykiller: Backport from android-msm-hammerhead-3.4-kitkat-mr1 branch + some extra performance tweaks and fixes from CodeAurora Forum