build: don't clear recovery ramdisk

Clearing recovery ramdisk removes all files place there by the
device tree and all busybox symlinks placed there by recovery

Change-Id: I19e6164856a01a83a6e2c50ef96742edcb9f570f
build: recovery: Support adding device-specific items

(cdesai): Also add the relevant parts from koush's
commit 7fd5a89df5ec3961c9aedfd2afad50d6d2561056
"Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images."

Change-Id: I25205e68282680932917016646dabd1abadbfce6
Recovery: remove wiping of res folder

The rm -rf of the res folder wipes out all of the TWRP theme and
images. Remove this so that TWRP will work properly.

Change-Id: I27c372d53eaae3cc8b476a909c2d3f3fc4fcb558
build: Use project pathmap for recovery

Change-Id: I6339ac77b899a43db21261d587252b65cb58ad79
Don't stop if JDK version doesn't match

Change-Id: I5e77c70724c7d81544673715ed09e0a53ce32730