Inputhandler refactoring

This one took a while and it turned out to be several issues in this PR:
InputHandler refactoring: #193
Configurable Controls: #263
Usage of new InputMappings in InputHandler: #244