add script to build dmg for mac. from https://github.com/soumith/zbs-torch
add cocos2dx interpreter
add valuetype
add cocos2dx api for autocomplete