Set listener properties for UMS mount/unmount

Some kernels require the usb functions be defined before UMS mounting
of storage partitions will work. This sets the sys.storage.ums_enabled
property upon mount/unmount which can be listened for in init.rc.

Example routines to include in init.rc:

on property:sys.storage.ums_enabled=1
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/functions adb,mass_storage
    write /sys/class/android_usb/android0/enable 1

on property:sys.storage.ums_enabled=0
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/functions adb
    write /sys/class/android_usb/android0/enable ${service.adb.root}

Change-Id: I8a8ad4b392abbaa173d402714bcb4049ba84ccca
Force GUI render after setting brightness

Change-Id: I4470a3a090d10f400575d45338a8349fbee8a027
Enable UMS mounting of storage drives

Change-Id: I4c369222cf16cb5bd87f007c3b172cd787d20fb1
Fix handling of storage after decryption

Change-Id: I0c2614f841a225699be9d4a52c60e9456241659b
Merge changes I4c369222,I8a8ad4b3 into android-4.4

* changes:
  Enable UMS mounting of storage drives
  Set listener properties for UMS mount/unmount
Merge "Force GUI render after setting brightness" into android-4.4
Fix include of cutils

Change-Id: I9868298908ce501d3043326862057e8a637544af
Fix make file flag name for minzip

Change-Id: I53380ee203c1fe75d37f24f99e36f5c5a62e5b39
minui: Allow devices to blank/unblank using LCD backlight

* Some devices rely on the LCD backlight to blank/unblank the display,
  support them by allowing a custom LCD backlight path to be used.

Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
minui: adapt backlight blanking commit to TWRP

Change-Id: I79417d218c84fcdaf2ce5ecdf314031831d89575
DU: clear relative directory after checking size

This fixes issues with /system/media not getting backed up.

(Commit and message modified from version under review)

Change-Id: Ib62af6ad8596aa18bf48cb750e2ecf442dadc627