m4: Update init scripts

 - Let ueventd worry about sysfs attribute permissions
 - Reorder and reformat ueventd config for great readability
 - Delete duplicate and nonexisting stuff
 - Add qmuxd to bluetooth group
 - Add mpdecision to system group
 - Make thermald bit more verbose
 - Reorder services alphabetically

Change-Id: I1111d24330dcdc8ddbff8e3b7bc02f07b2866953
m4: start chargeled service in recovery

Change-Id: I5e0d221fcbd61930774932dfe50a687e3c284599
m4: Fix network search

Change-Id: I8cb6a7c8ffd13a5564e60afbefe0b0a81caa1466
m4: Use new offmode_charging and images

HTC incorporated charger functionality into offmode_charging and added
1% increment images. This makes offmode charging look much nicer. Also,
bring back detect_key and power_test so that the power button works to
turn-on the device from offmode.

Blobs from m4 3.10.401.4.

Change-Id: Ic87b2307e88636ffdf0d971c49bed87faf7aa378
m4: Update camera sensor parameters

Set focal length and view angles to match what stock reports.

Change-Id: I648cee9e448c3363e57e557a0c5d8d6fccd17759
m4: Add misc partition to fstab

Also specify the offset for the bootloader message.

Change-Id: If0b66a04c337c1858ad59f4392d03fbf373b3445
m4: Eliminate bootanimation jank

Change-Id: Ic2fc53e069f77197aabe28a846fa3288a11273b6
m4: Support vibrator tuning

Change-Id: Ib8706edd5162c5031def9908a5be864a9a5efafe
m4: Fix cmhw path

Change-Id: I207b21224422c7f61b7feb98bcc076dd1f333d2f
m4: Fix sound recording in Whatsapp

Fixes NIGHTLIES-206.

Change-Id: I2094574341391ca61b7b2041ee6baf5dcb8cb0ec
m4: Update thermald config

Change-Id: I5c7a4f7b50f63d4ce504c79100c3207309b24faa
m4: Switch to QCOM power HAL

Change-Id: I82d2621fb77754d0ef98372becc9f53d73d5c7ed
m4: Delete unused init scripts

Change-Id: If9dd4371c03dfa79c7e58552a70355b9610c1e8a