msm8660: enable QCOM_BSP

* For Netflix

Change-Id: I3eb0e3da098ed50166de7b1d37efaef5fa56e766
msm8660: Use custom graphics.c for recovery

Using a 3.0 kernel and QCOM_BSP causes recovery build errors.
Workaround this by using a custom graphics.c.

Adapted from: https://github.com/CyanogenMod/android_device_motorola_msm8960-common/commit/ad5112f3d4dea443ed421b9f8947d81076c3f060

Change-Id: Ida248ac260c79d6324fdfe0b95fb332c253e6e1f
Add Netflix fix by liquid64

Change-Id: I9bdd952875be4f43461627dddf5725eacbbcf3c9
msm8660: Enable media-caf

 * Kernel has been updated with proper support for features in media-caf

Change-Id: Id8d4c8c7829f3271db34c24e728e0a9adf06f9e7
msm8660: device-specific camera wrapper [WIP]

  * modeled after CameraWrapper in msm8960-common and m7-common
  * allows us to rely less on overlay hacks to packages/apps/Camera2
  * old overlays from cm-10.2 that this replaces:
    - needsSamsungCamMode=true
    - useInfinityFocus=false
    - ignorePreferredPreviewSizeForVideo=true
  * old overlays from cm-10.2 that we are ignoring as they no longer apply:
    - usePreferredPreviewSizeForEffects=true (effects are not supported anymore)
    - needsEarlyVideoSize=true (done in Camera2 by default)
  * to use: rename vendor/samsung/<device>/proprietary/lib/hw/camera.msm8660.so
    to camera.vendor.msm8660.so and fix the vendor .mk files accordingly.
  * (TODO) current issues:
    - hitting record in camcorder FC's Camera2 or locks up preview
    - switching between camcorder and still picture mode FC's Camera2 if 480p
      is selected. If 1080p or 720p are selected, you can switch back and forth
      without a crash. I suspect this is due to 480p using a different preview
      size from the other resolutions.

Change-Id: Iab6c400b89c6743e890755c01ad97dc39bde17c6
Force front-cam preview size

Change-Id: I4434442898f56db38f2df61f57e2c1668646a578
Fix camera lockup

Change-Id: I0a1e705cd58538b632c7a6b8328571fb4280389e
Fix switching from 480p video to picture mode

Change-Id: I7468308e9055966b272b6486c2d9c52406b5acf9
Fix video orientation issue

Change-Id: I71755f3a9eda5beb9c195e82fd25c70d5303a0e4
msm8660: Lower dimensions for 1080p

* Video recording in 1080p causes issues, so lower dimensions for now.

Change-Id: I1a4cc1f707ab1ebaac76e99618bb841f506e11e4