Added lightning generated event.

Added an event which is fired before natural lightning is created. Setting result to deny will suppress the lightning.

Code is tested - https://github.com/mnn/LightningTest.