Reworked the inputsystem

The keyboard now uses winapi to detect keys. This allows to detect
long-press of two or more keys.
Added SetCursorVisibility