[Console] Improve autocomplete behaviour by allowing browsing with arrow keys

See notes in original autocomplete pull request: https://github.com/symfony/symfony/pull/6391
See also @bamarni's pull request implementing more or less the same stuff: https://github.com/symfony/symfony/pull/6561

Needs rebasing with symfony master