releasetools: Add support for BML partition type

Needed for Samsung devices using proprietary FSR drivers.
Backported from gingerbread branch.

Change-Id: I59f9da9c4832f791f2e126257d2ed777d6104ad8
CWR does not support writing a partition from memory. Use /tmp to store the extracted file, then write it.
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
build: Realign product libraries with corresponding applications

VideoEditor requires a build to call the full_base, but the libraries
are called in generic_no_telephony. This patch places the library
packages in the same product specification as the application using
them.