charger: Squash a bunch of charger mods

Allow home button to wake
https://github.com/CyanogenMod/android_system_core/commit/ee825465fbc8fe0affdc887767f5c9445ab7539f

Draw battery percentage over charger screen
https://github.com/CyanogenMod/android_system_core/commit/f7e1ef2461121c1ebe7f1ef3ea25cca397e4c5ab

Toggle backlight while in charger mode
https://github.com/CyanogenMod/android_system_core/commit/f7ce72ca4e7d99edd346ef0081915d1decb2165d

modify usb unplugged shutdown time in power off charging
https://github.com/CyanogenMod/android_system_core/commit/55a9140a1fa305582723ce6fd6d6681d8cd612fa

press power key to turn off charging animation
https://github.com/CyanogenMod/android_system_core/commit/6c2f03639a0fca6df03bc34fe7f7f31d798a2e56

Allow home key on newer devices to wake device
https://github.com/CyanogenMod/android_system_core/commit/ee7480206abca301be9e8a0808cf142f013fd9ed

PS2: whitespace

Change-Id: I3e4a7c4b0443c7b6fa5a130c7cee5a919bbeb939

Conflicts:
	charger/charger.c
Handle FUSE_FSYNCDIR as FUSE_FSYNC

There have been issues with sdcard data corruption even after
successfully calling fsync for /sdcard. This is caused by
the sdcard daemon doing nothing in this case.

Change-Id: I48149ceabdac79ac535b35c2598bb1fbb5410883
Fix sdcard's FUSE_FSYNCDIR handling.

For a file the FUSE fh is a struct handle containing an int fd;
for a directory it's a struct dirhandle containing a DIR*. Fix
handle_fsync to extract the file descriptor appropriately in
both cases.

Bug: 14613980
Change-Id: I45515cff6638e27a99b849e6fc639d355dbb4d27