Move some stuff from apextmo/expressatt to common

- Avoid some code duplication.
- Move camera wrapper from apexq (modify it to fix ISO modes) and
  make it available for other devices (ie: expressatt). Include
  media_profiles.xml for isx012.
- Include some additional scripts.
- Requires some slight changes to device trees.

Change-Id: Idfbca694274e2a8edd747e6a6aa9960ad37cd07f
d2: fix svdo

Change-Id: Ifa2fdbe05f1f1aac7bef780d2c4605d671cf020c
Merge "d2: fix svdo" into cm-10.2
d2-common: enable repeatable keys in cwm

Change-Id: I8c3e95d3b029bd45ae6854f60e7f5952385ded38
Merge "d2-common: enable repeatable keys in cwm" into cm-10.2
Merge remote-tracking branch 'upstream/cm-10.2' into HEAD