[Console] Allowing the user answering key or value of the autocompleterValues

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #11116
| License       | MIT
| Doc PR        | ~

**Before**:
![capture d ecran 2014-12-05 a 01 07 54](https://cloud.githubusercontent.com/assets/667519/5308827/ebaec496-7c1b-11e4-8872-5ed1f3642836.png)

**After**:
![capture d ecran 2014-12-06 a 01 35 17](https://cloud.githubusercontent.com/assets/667519/5325306/2fb13742-7ce8-11e4-9842-57d202084a4e.png)


NB: As we want the user to be able to type either "env_1" or "Launch this and that", I offered autocompletion too on the values of the autocompletedValues.

This is broken in case ``$values`` is not an array (and it is not guaranteed to be an array)