InputController :: Handle Time-Out events

Refactoring the InputController so there's less duplication. Also added
a time-out handler.
Merge branch 'master' of https://github.com/EvilTuinhekjeNL/League-of-Statistics