lpm.rc init: Fix charger mode and update pm paths.

lpm.rc is only processed by init when the device boots into charger
mode. In charger mode, init does not trigger the 'early-boot' and 'boot'
actions at all. It runs the 'charger' action instead.

Before this patch even core services were not started in charger mode,
as class_start was part of the non-existing 'boot' action.

Insert usecases for different platforms and add pm paths for msm8974
to init.qcom.lpm_boot.sh

Change-Id: I2d1e794a5a288abca33a59a00ae49ef02d111950
Revert "lpm.rc init: Fix charger mode and update pm paths."

This reverts commit ad66f016f0ca31b049a777dca9e9e5b66afbc5b5.

Change-Id: I4ae9ba465f61fa650c6dc722dfc44932dee84eac
qcom-common: Remove duplicate overlay

* This is a duplicate of the config in vendor/cm

Change-Id: I21f9c3d44fb5fe22e142adc308ee890fcb2d2030
qcom-common: remove cpufreq permissions now set by uevent

Change-Id: I7dbe1a604310d80a58a641ce7ebb086ac5644186
qcom-common: Remove mpeg4/h263/h264 ffmpeg entries

Change-Id: Id050873cea4db0488846f3c1f746887339a2c970
qcom-common: Only include init.qcom.thermal_links.sh if needed

If we aren't installing any of the files that are used as the
destinations of the links then we shouldn't bother installing
the script that creates the links either.

Change-Id: I16495104c0ae44b35361f4b400e6fb9a19d6f3b1