add clear all script support
fix:runtime crash when upload file to Mac/Win32
Merge pull request #790 from cocoscodeide/develop

add clear all script support