fixed #1824:  Exposed cc.EditBox to js.
Merge pull request #2164 from dumganhar/iss1824-editbox-js

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