Fix typo in comment
Return [] instead of none if there are no completions
Remove unused code (import completions has its own function)
Make autocompleting LANGUAGE pragmas work without ModuleInspector.

Of course this should only need ghc-mod.
Also cleaned up some duplicate code.