Implement GenEvent.Behaviour
Merge pull request #958 from yrashk/gen-event-behaviour

Implement GenEvent.Behaviour