Implemented Event Inheritance *Merge*

Object inherited events are written out when the object does not contain
and override the event. Locals are inherited from the parent if the object
does not define them itself. event_inherited(); function still needs
implemented. Tested and working, please merge when ready.