Merge pull request #4 from HujiangDeia/runtime

Runtime
add compile interface
add BrowseDir
Merge branch 'runtime' of https://github.com/chuanweizhang2013/cocos2d-x into runtime
debug
modify BrowseDir
rename main.js to cocos2d-jsb.js
memset mistake
mac runtime
modify sys.command to subprocess