Moved completion flag setting to completion.c.

It's the better place to handle the flags than doing it in ex.c.