Completion : remove `name` and add optional `snippet`

`score` is also optional.
As far as I can tell `name` is only provided by the `text_completer` and
never used by the core; the core uses `value` and `snippet` and also
supports a `caption`, but all cases can be covered by `value` and
`snippet` without using caption so I am leaving it out.