unpackbootimg: Add support for device trees

Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5
init: Add support for Samsung's bootchg command line

Samsung's pre-kitkat bootloader used androidboot.bootchg=true|false
to indicate offmode charging or not. With the kitkat bootloaders,
they have switched to the AOSP way of using androidboot.mode=charger
to indicate that offmode charging mode is active. This will then
trigger the charger class.

With this patch, we can get rid of lpm.rc and init.qcom.lpm_boot.sh,
and instead use the charger class to support offmode charging. This
way we can support offmode charging for both pre-kitkat and
kitkat bootloaders at the same time.

Change-Id: Ida8f4327e5a5fbf07e7ee44586461ddef33431be

Conflicts:
	init/init.c
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

Conflicts:
	init/Android.mk