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

This is Patchset 23

Conflicts:
	dotcase/src/org/cyanogenmod/dotcase/Dotcase.java