make bootzip: convert bash to python

Change-Id: Ie5d3e6d07df7f46df3717b9203b6f70edf208cb1
Signed-off-by: anerik <anerikgames@gmail.com>

Conflicts:
	core/Makefile
	tools/releasetools/boot_flash_from_image

Conflicts:
	core/Makefile