Added textinput and minnor fixes

Use the love.textinput callback to enter text instead of the love.keypressed one. Since love.textinput is better suited for this kind of jobs

The only needed change to support this version is adding
```lua
    love.textinput = function (t)
        console.textInput(t)
    end
```