Add a new FlxInput base class for inputs, closes #819