Merge pull request #27 from jaztec/add/event

Trigger a dispatch event before running the RPC
Small fix
Adding extra infomation to the triggered event.