[Console] Fix couple of autocomplete bugs and add new test

Bug fix: yes
Feature addition: no
BC break: no
Symfony2 tests pass: yes

See: https://github.com/symfony/symfony/pull/6604