[idl-generator] Add event handler support
Merge pull request #14 from deqing/event-handler

[idl-generator] Add event handler support