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
Merge branch 'android-4.4' into twrp2.7-safestrap

Conflicts:
	partitionmanager.cpp

Change-Id: Ic74ddd5312f114347f2f8a4801a3cb468c9f102a