Made InputEvent generic on Event

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