Spidermonkey should be built in RELEASE mode for all platforms.

REASON:
We used fat library for iOS, it contains i386, armv7, armv7s architecture. But we use the same header files.
The head file of Spidermonkey contains DEBUG macro in some methods or some classes. It may lead to weird crash.

HOW TO FIX:
Undefine all DEBUG marcos in Project Settings.
Build all libraries in RELEASE mode.
If you wish to debug Spidermonkey, you have to know how to build debug version of SpiderMonkey and how to set DEBUG macro in Project Setting!

BUT DON'T DEFINE DEBUG macro IN OUR PROJECTS

Cocos2d-x is using COCOS2D_DEBUG for debugging.
Merge pull request #23 from dumganhar/release-build-all

Spidermonkey should be built in RELEASE mode for all platforms.