m8: Support the HTC Dot View case

* This is an open source app to make use of HTC's Dot
  View case for the M8. Their implementation requires a
  platform signed apk (we could have resigned it, but it
  would have broke market capability) and lots of extra
  permissions and stuff that are just too shitty to hack
  all over our framework, especially for one device.

* This uses standard AOSP APIs and permissions to do the
  same shit.

Current features:

* Screen on/off based on case changing using UEvent
* Time (non military)
* Battery level and charging indicator
* Phone call answering (with phone number)
* Alarm (sleep/snooze with time)
* Torch status icon
  * Long press to toggle torch
  * If active (icon shows) tap icon to turn off (or long press again)
* Basic notifications:
  * Gmail
  * Missed Call
  * Hangouts
  * Mms
  * Voicemail
  * Twitter

Future plans:
* Weather
* Settings
* Calendar

Change-Id: I602adf524abf2c7b21f9181f84c91bbf83db6dcd
fstab: add check on userdata partition

Change-Id: Ia08a3ff9bb4177315cc51dcb2a4dec609fd4edd5

Conflicts:
	rootdir/etc/fstab.qcom
m8: Enable offloaded visualizer

 * Since addition of the visualizer tile, devices need to use
   the offloaded visualizer in order for compress offload to
   function. Enable the plugin.
 * Also enable the ultra high quality resampler

Change-Id: I1ad85cb178a93794bc427dfeecfea8e0b04c3537
m8: Enable offload for PCM/AV streaming

 * Also cleanup useless audio policy entries

Change-Id: I1c2e8b4f86a8b16f807896bc3bfa96acd43e1c0a

Conflicts:
	audio/audio_policy.conf
overlay: route calls to mute mic through AudioManager

Change-Id: Ic92978f9647e510f9bcff6b1d8e9e3efbefdd010

Conflicts:
	overlay/packages/services/Telephony/res/values/config.xml
m8: Cleanup audio policy

 * Fix noise when playing notifications too

Change-Id: Ibe152597cd82afd6035c1b59b1517dc922242928
m8: Remote submix only accepts 48KHz

Change-Id: I13d706f1f8510227cc4350cff8339166a8545a45