Changed to new GenericEvent design

Closes https://github.com/PistonDevelopers/event/issues/203

Will fail Travis because of an issue in sdl2_window.
Merge pull request #204 from bvssvni/master

Changed to new GenericEvent design