rpc_get_completions: Uniquify results.

When the Elisp part assumes pre-sorted results, company does not
make the results unique. Do it in Python.
rope: Catch errors from a codeassist call.

This can not use our generic call method, and we forgot to catch
errors here.