msm8974-common: Clean up Samsung device inheritance

* Remove duplicate keylayouts
* Move media_codecs to platform tree
* Unconditionally build consumerir
* Move postrecoveryboot to qcom-common
* Move common msm8974 HAL/packages to platform tree
* Move wifi config to device trees
* Use nested cm.dependencies
* Generate firmware symlinks at compile time
* Move egl.cfg to msm8974-common
* Move QCOM_BSP to platform repos
* Move telephony permissions to device
* Move reboot to download option to qcom-common
* Move common overlay options to qcom-common

Change-Id: I493dcf24269e852e7819c045dc3afc5c47da176a
add missing firmware links for klte

Change-Id: I935ce5e905e674460eb89923ec43337e6c03c08d
msm8974: CameraWrapper: Fixup logging to prevent parameters getting cut off.

Change-Id: I71853560fee9e261293d9c89c8d5653006e280e2
msm8974: CameraWrapper: Fix the off value for hfr

Apparently, this must be the last element, not the first element
in the list.

Change-Id: If202337e9211475030cc5fa136c6624e52ff8997
msm8974: consumerir: Convert transmit input from ms to pulses

According to:

 https://developer.android.com/reference/android/hardware/ConsumerIrManager.html#transmit%28int,%20int[]%29

the pattern is supposed to be in ms.  Apparently Samsung and HTC
in versions 4.4.2 and earlier of Android were treating this as
the number of pulses instead of ms.  This is what our HAL is
supporting because it mimic'ed what the vendors were doing.

However, we should switch to the correct spec of the pattern (ms)
and eventually this will cause apps to converge on the right
patterns.

Currently, this change will break half the existing apps and cause
the other half of the apps to stop being broken and to start
working.

Change-Id: I87cedcc8e0b85d7b96ed63c7d4f82cc53ecb4ecb
msm8974-common: Remove unnecessary flags

Change-Id: Ibdec447992d72a26a5fd6b5356fb58cbeac3b19b