rewrite build and package script by python
deprecate genapp.sh and put the scripts into scripts directory
Merge pull request #360 from haiwen/rewrite_build_script_by_python

deprecate genapp.sh