Added textinput

Use the textinput callback to enter text instead of the keypressed one. Since textinput is better suited for this kind of jobs
Tabs and mouse position

Corrected tabulation. Now checks whether the mouse is inside of the console before considering the event.
Corrected the mouse check

The mouse checks for the whole bounding box. Corrected the input rectangle being misplaced when console.y is not 0
Added textInput call
Merge pull request #3 from Positive07/master

Added textinput and minnor fixes