cocos2d/cocos2d-x — pull request #9327 by samuele3hu (2014-12-01 08:01:48+00:00)
Title: Add more useful trace back info when got invalid arguments by calling functions

eg:
ccexp.AudioEngine:setFinishCallback(AudioControlTest._audioID,finishCallback, 5)

error msg in the old mechanism:

```
ccexp.AudioEngine:setFinishCallback has wrong number of arguments: 3, was expecting 2
```

error msg in the new mechanism:

```
[LUA ERROR] [string "NewAudioEngineTest/NewAudioEngineTest.lua"]:136: ccexp.AudioEngine:setFinishCallback has wrong number of arguments: 3, was expecting 2
```