fixed #1824:  Exposed cc.EditBox to js and refactored ScriptingCore::executeFunctionWithOwner

Also, 
* Refactored `executeFunctionWithOwner`, it supports any number of argument now.
* Delete the static method `executeJSFunctionWithName`, please use `executeFunctionWithOwner` instead.