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

PS2: Remove torch option
Signed-off-by: task650 <task650@gmail.com>

Change-Id: I74038f30fba0a17c7678e2d754b2506445b1163d