Huge M7-common improvements

Commits below shown

Squash commits from TNP's Neori's repo

9bf0e8c7f0 bluetooth: permission fixup
4ec91a56a4 disable pan nap / support ble
a0b4ddf36c switch back to using front mic for phone calls

Change-Id: I634e1f316fc70fba663db007f80645eb15f74817

Re-added EGL config into m7-common

Removed on msm8960 tree due to some device doesn't use the latest aderno 330 libs

Change-Id: I353533c5e334353d8336680fb0f407276a274794

Fixed rc and fstab configurations to allow device encryption

Detailed description:
   fstab entries were set up to encrypt using a footer at the end of the
partition, but the fs was not recognized by cryptfs.c as being
appropriately shortened.  Inspection of the original fstab.m7 reveals
crypt keys are stored on the "extra" block, or /dev/block/mmcblk0p27,
changed fstab to match.
   tmpfs mountpoints inside /data prevented cryptfs from unmounting /data.
Fixed this by assigning mountpoints to directories inside /mnt and
creating symbolic links to /mnt inside /data.

Change-Id: I22b390bc7e329b3f79ac3b73e02bd0c33c4b1025

bluetooth: support ble

Change-Id: Ieaf14b979a3648374b51d24104678d4d313d4f36

enable tripndroid's fb hack

Change-Id: Ic8d8d733884917c718812d1981074baae61c6fba

Re-edit the overlays

Change-Id: I0d8612c225c78deb8f1b6fb42d79bfadb826b86e

m7: Configure ondemand governor

 * Idle loop on M7 is janky due to power management implementation,
   which screws up the interactive governor.
 * Switch to ondemand governor and configure it correctly.

Change-Id: I563071a5bc08c20ab6217994dea98d92feeaaf8c

m7: Add init script for recovery

 * Configure power options for recovery

Change-Id: I6eba30232f1da453d3673541849085d83dd83967

Set smartmax as default

Change-Id: Ia0343895b7a95cad1196af0121caa803f8bff6cb

fix /data encryption

Change-Id: I679b75db6ca7aab89ee4376f489919ab27a441e1

sound: Speaker Headset is defined twice, remove 1 instance

Change-Id: Ie1c59c5c490b5d3b4f20bf07349ba8698125b8b5

Properly give the right config for Speaker DMIC Stereo

Change-Id: I56ecc9e4957d621ef33d4f7c6c14b995909289b7

Better without xhdpi

Change-Id: Ia4fcb6b408d4b367b57fd43ed9ff3b488eccd2b3

media_profiles: fix min duration, 20 isnt supported

Change-Id: I82351093ee87fe8ab298e94f2c837d1005406cc6

n3x's kernel tweak

- Enable KSM by default and tweak

Change-Id: I4b35e643c5ba95dc160c9bf085fcfed6d6f0b24d

m7-common: Introduce m7vzw

Change-Id: Iff184007a7906f3fe842f0038c016974034e9217

m7-common: clean up initscripts

* m7spr has it's own set, while m7vzw shares the GSM set
* Fixes compilation for non-m7vzw variants

Change-Id: I53f877d132d8ce2c15144ff12f82232fae883c4f