Squash of fixes and enhancements

Credits to OmniROM for being the medium from where I got these commits,
and Credits to the respective authors of each of these commits.

 init: Allow device-specific appends to the property service permissio…

 bluetooth: Introduce new property type and permission

 pdp: introduce new property type and permission

 libnetutils: add ifc_set_mtu

 revert changes to main init.rc file

 bootanim: introduce new property type and permission

 sdcard: fix usage for -w and -s options

 adb: configure /system file permission with fs_config

 adb: Fix backup fallback

 Revert "adb: configure /system file permission with fs_config"

 restorecon /data/misc/media.

 rootdir: Add mediaserver to qcom_diag group

 init.rc: Restored TCP performance tuning

 init: Allow load of lpm.rc by parsing a cmdline argument

 Add support for -R (recurse) to init chown builtin.

 init: uevent: Add msm video symbolic link handling

 Revert "sdcard: Allow building as a static library"

 init: add a restorecon_recursive built-in command to init.

 liblog: add required function

 Allow a device to define the max number of service groups in init.h

 init: Add "export_rc" command to export env from a specified file

 init: Allow basic environment variable expansion in env assignment

 init: Fix serial number display for semc msm7x30 devices

 charger: allow custom charger res

 system: core: increase the polling time for remount_ro to 3600

 restorecon_recursive("/sys") speed boot time

 charger: Draw battery percentage over charger screen

 Squashed file permission fixes for "adb push"

 ueventd.rc: Change owner of graphics drivers to system

 Add support for init mknod command.

 Add support for socket security context specification.

 init: fix cache permissions

 healdth: A capacity value of 0 is valid

 fix corruption in Vector<> when malloc falied

 init: Fix queue_all_property_triggers with nonexistent properties

 Fix assertion failure

Change-Id: I58a9986bad772aa9537a518beee16dfe081eab0c
Camera: move CAMERA_CMD_METADATA_* outside of QCOM_HARDWARE

Change-Id: I2374419f2939ca737fd0a887b552f3e5a9bcd349
Camera: Add meta data types for meta data callback
and auto HDR Metadata type

- This type is used during auto HDR
  Metadata callbacks.

Conflicts:
	include/system/camera.h

Change-Id: Ifd6fd88c9345d12af8406e59ed209cb91677b9c1
Add support for mounting emmc partitions by name

Allow init to mount partitions by their labels on emmc devices. This brings it in line
with mtd devices who already support this.

This initial implementation respects the BOARD_VOLD_MAX_PARTITIONS build flag,
but is limited to partitions on mmc block zero.

Change-Id: I7b30e8beb7d159d920c9eb87d7b9e42094da2649
Merge "Camera: Add meta data types for meta data callback and auto HDR Metadata type" into du44
Merge "Camera: move CAMERA_CMD_METADATA_* outside of QCOM_HARDWARE" into du44
libcutils : reboot mount fix

On aries for eg, cache needs to be rw for the RECOVERY_PRE_COMMAND to
work because we write to /cache/.startrecovery

This patchset moves the RECOVERY_PRE_COMMAND prior to the remount.

Change-Id: Iab1da9a15e64e8831b04e4eb21d824de5f8bd0eb
Merge branch 'du44' of https://github.com/DirtyUnicorns-KitKat/system_core into HEAD