[Console] Added handling left/right arrows and delete in console.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ---
| License       | MIT
| Doc PR        | ---

My code has to read more then one char so I had to rewrite function which parse input stream.
In current version console throws error when ESC will be pressed.