Add emit function for EventEmitter

Add emit funciton for EventEmitter class.

the emit function has variable arguments but JSX does not support variable arguments function.
So I just added 4 overloaded functions as typical patterns.

If this pull req does not have any problems, please merge it.