Made InputEvent generic on Event

Closes https://github.com/PistonDevelopers/event/issues/189
Merge pull request #190 from bvssvni/master

Made InputEvent generic on Event