Added script to help package Cocos2D in an easily embeddable and version able static library.

Signed-off-by: Panajev <Panajev@gmail.com>