Added events to GameObject and a GameEvents container.
OffscreenEvent implemented for bullets. GameObject and
other classes have been modifed to work with events.