Allow Device specific ramdisk address

Change-Id: If0bb3d3a2b51f87a92c0b657fbc6d0277ce53532
Better handling of ramdisk during make

make clobber used to call rm -rf out/
so if out is a soft link to i.e. /tmp/out
the soft link is deleted instead the content
so i changed the makefile to rm -rf out/*

Change-Id: Id1991161617da8ec34307a30412c134e31f589b4
Extract uboot image creation from core/Makefile

http://memegenerator.net/instance/12495768

This change utilizes BOARD_CUSTOM_BOOTIMG_MK to extract out the Uboot boot and
recovery image generation out into it's own file (approx 130 lines).

This should:
    * Clean up the already huge Makefile and the keep ifdeffyness down
    * Make sure Uboot changes don't effect other builds
    * Extract a lot of code that is only for 3 devices

This depreciates BOARD_USES_UBOOT but BOARD_USES_UBOOT_MULTIIMAGE is still valid.

Boards who use uboot boot images should remove BOARD_USES_UBOOT and add
  BOARD_CUSTOM_BOOTIMG_MK := device/common/uboot-bootimg.mk
to their BoardConfig.mk
(location of the makefile is not finalized)

Change-Id: I90505a99cbcda11731ac3318cfe7f76b4bf6e1c7
Include the primary bootloader and ramdisk in the BOOT/

This will copy over the primary bootloader (if it exists and defined)
over to the zip_root/BOOT.

This is required by encore as we need to make sure we have the correct
primary bootloader to go with the kernel.

Change-Id: I3fef417011b9c7a63109d10fc8e6794e58f73c31
Require signapk.jar for Flakeflash images

Build signapk.jar which is required to sign the recovery flakeflash image.

Change-Id: I6db422199c8afd3a3f43919980d0893f8d3efc6e
build: Support nam configuration script in ota package

Similar to the --backup command that allows adding the backup and
restore script, this allows the use of --configid to append the
modelid_cfg script below the backuptool, as previously configured in
CM7 builds.
This adds support for devices that originate from other countries, but
have a North American counterpart that requires alternate GPS and sound
profiles.
Unlike backup tool, which uses the cm prefix to an existing lunch combo
variable, this flag can apply to devices not currently supported by CM.
The supported devices are manufactured by HTC, so instead of verifying
a cm prefix, the htc_ component is used to trigger the append.

Conflicts:
	core/Makefile
	envsetup.sh
	tools/releasetools/edify_generator.py
	tools/releasetools/ota_from_target_files

Change-Id: Ia8c517efabf431af28fd166dafbb457b7846ab6e