Added public methods in InputManager for external usage, with working demo to close application on an Escape keystroke.

Signed-off-by: martingronlund <martingronlund@live.se>