Pave the way for YCM compatibility

Summary: use `omnifunc` (which is for filetype-specific completions) rather than `completefunc` (which is for completions in all filetypes).

Reference:
https://github.com/Valloric/YouCompleteMe/issues/471