hammerhead: Add SELinux policy for healthd

This adresses denials such as:

avc:  denied  { read write } for  pid=144 comm="healthd" name="rtc0"
dev="tmpfs" ino=6565 scontext=u:r:healthd:s0 tcontext=u:object_r:rtc:s0
tclass=chr_f
avc:  denied  { open } for  pid=143 comm="healthd" name="/" dev="tmpfs"
ino=5405 scontext=u:r:healthd:s0 tcontext=u:object_r:device:s0 tclass=dirile

Change-Id: Ib201cfcf3c21c9480276c0356a063701d5120810
hammerhead: Update SELinux policy

Address various denials.

Change-Id: I73a3adeb7678244bc5760812ac3d36e2d561fa96

Conflicts:
	sepolicy/mpdecision.te
hammerhead: Use QCOM PowerHAL

Requires an updated mpdecision, remove --no_sleep
argument from the same. Add dependencies and sepolicy
rules accordingly.

Change-Id: Ibc9ad05a1c165f93fc7c869b1ff39dc62688367b

Conflicts:
	cm.dependencies
	sepolicy/mpdecision.te
hammerhead: Configure cpufreq

* Make ondemand a bit more conservative
* Configure interactive and set as default
* Configure cpu-boost

Change-Id: Ia59413dda08bc81494bcec23a1bf7c2f6dffadd9
hammerhead: Increase boost duration

Half a second may look excessive but it eliminates all
remaining annoying yank.

Change-Id: Ifa52e8da605a54abbbbba89691f7c28dde32b5ba
hammerhead: Set interactive max_freq_hysteresis

Change-Id: Iefcdb338cea408294191bcedd4a495925ebb6240
hammerhead: Update extract script to generate apks

Use Pau Oliva's routine to extract the dex from the
oat files in disguise.

Change-Id: I6e1193f352322f4f129a1dfe29ac58deda268c65

Conflicts:
	extract-files.sh