Better completion display hook

This is as suggested at https://github.com/stefanholek/rl/issues/8. But it is
still not perfect, and an exposed function as suggested at that issue would be
better.