Use julia parser in completion

Replaces the heuristic machinery for determining whether
completion is attempted from within a string, a command etc.
with the julia parser.
Merge pull request #6385 from JuliaLang/cb/jlparsecompletion

Use julia parser in completion