JWR changes

Change-Id: I503ddfe0077806674ed6ddf6191c7a92fdc53eb7
(cherry picked from commit a19586d967beb95742e7f32c26105974ed643ca9)
JWR bits and pieces

Change-Id: I233f574839b523e95e1509c2cab68a829bf76410
(cherry picked from commit 8810633b80a595d941702489109bf546c44c37fc)
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac

Some how these changes were lost during 4.3 merge. Add missing pieces back.

(cherry picked from commit 0b511e9d23b6584465c230382a4a0b7a74cc717d)
Fix mismerge of implement 1% battery on select devices

Change-Id: I2dcafba2c39f50cf435b90ca261b325c10fd5b6b
(cherry picked from commit c17f681a730c52d6022bc9e887293a5731e91803)