Make 4.3 work

Squashed set of commits kanged from jf

Change-Id: I2d7488e7ff060f8929f3a5ec8031472a43bafd91
Samsung Krait: move defines for camera around

Change-Id: Iafc47d3b92795de8af3762a3e54cffdff7090638
Use the MM heap for the camera

Change-Id: I03340697e048cd2870016923004cd7b96c64f8d4
d2: support for hardware geofencing

Change-Id: Id44e1854be77c7dcb42b73e4fcde8d956075c9a3
add semcosh nvram

Change-Id: I8b80d3ed68970a366ac36ee91a85980661b6a6f8
d2-common: remove USE_CAMERA_STUB

USE_CAMERA_STUB is not used in AOSP, so get rid of it

Change-Id: Ia56d67f1bd967b9f14909009e388c5e6b26a59e1
d2: Misc fixes

small tweak to init.qcom.rc taken from jf

Change-Id: Id11969a1bddd719ec92692cd8268453e904b7f87
Merge "d2: Misc fixes" into cm-10.2
Move CAMERA_STUB to vendor scripts where it belongs

Change-Id: I4d2535ec9acfdc77ed798787d7c3619938e1b052
gps.conf: underp

Restores prevision version of gps.conf with the added geofence bits

Change-Id: I99e5e08c40ec986b6671f082390817ab86120348
Merge "Move CAMERA_STUB to vendor scripts where it belongs" into cm-10.2
d2: modify the updater script to support copying to destination

Change-Id: I273770bfe9b93e49e361c3a2c1cec6310d7fd2fd
Apexq uses neither dual microphones, nor digital.

Change-Id: Ieea10e02a85acd8272db3f432bc02bf119d4350f
Merge "d2: modify the updater script to support copying to destination" into cm-10.2
copy nvram to _semcosh for open source macloader

Change-Id: Ie9df89caf5a7dbc8adf09cb5e2c5df67b880c15e
Merge "copy nvram to _semcosh for open source macloader" into cm-10.2
d2-common: proprietary files update for latest blobs and fix extract script

Change-Id: I2071b5e440fa5d0c6e1f71df5635771ca99053f2
Enable TARGET_DISPLAY_INSECURE_MM_HEAP

https://github.com/CyanogenMod/android_hardware_qcom_display-caf/commit/60ccbaec1c8355916ef388007485b8c8e64d0b34

Also removes BOARD_CAMERA_USE_MM_HEAP as it's a deprecated flag

Change-Id: I8540649f62e5c730605fad4a694959bcc8b5be45
d2-common:  Move Camera overlay settings to Gallery2
Adjust settings for 10.2 camera

Patch set 2 - added missing values in config.xml
            - added arrays.xml for valid Camera settings
              (VGA added back in as front side camera currently requires it for Gallery2)

Change-Id: Ie9e0505cfcc4c5391a2a116e75c6cfeef360f364
msm8960: support Samsung extended AGPS

  * references:
      http://review.cyanogenmod.org/#/c/45564/
      http://review.cyanogenmod.org/#/c/45565/

Change-Id: I815dc4155cb624f0a90ed7cff98a132baca2d13b