Merge pull request #6561 from dumganhar/v3

Uses 'download-deps.py' to download Cocos2D-X dependence files
Merge pull request #6563 from dumganhar/v3

Updates download-deps.py, write file with permission information while unziping.
Update download-deps.py