[add-socketio-jsb] implement fireEventToScript method to integrate JSB e...

...vent handling with the original native code
-update static connect method to match JS API, kept original method but marked deprecated

Signed-off-by: Chris Hannon <himynameschris@gmail.com>